Remove leftover from spike
This commit is contained in:
parent
0f282eae54
commit
62ecb3cee1
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue