Clear machine id after container destruction in order to be able to use its name with lxc-destroy
This commit is contained in:
parent
da534c3b0e
commit
b02cf9c5e8
1 changed files with 1 additions and 1 deletions
|
@ -173,8 +173,8 @@ module Vagrant
|
|||
|
||||
class Destroy < BaseAction
|
||||
def call(env)
|
||||
env[:machine].id = nil
|
||||
env[:machine].provider.container.destroy
|
||||
env[:machine].id = nil
|
||||
@app.call env
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue