Remove leftover from spike

This commit is contained in:
Fabio Rehm 2013-03-10 00:39:05 -03:00
parent 0f282eae54
commit 62ecb3cee1

View file

@ -15,7 +15,7 @@ module Vagrant
include Vagrant::Util::Retryable
# This is raised if the container can't be found when initializing it with
# an UUID.
# a name.
class NotFound < StandardError; end
CONTAINERS_PATH = '/var/lib/lxc'
@ -103,10 +103,6 @@ module Vagrant
execute('sudo', "lxc-#{command}", *args)
end
def update!(state)
File.open(state_file_path, 'w') { |f| f.print state }
end
def state
if @name && lxc(:info, '--name', @name) =~ /^state:[^A-Z]+([A-Z]+)$/
$1.downcase.to_sym