`vagrant down` is now `vagrant destroy`
This commit is contained in:
parent
43f66c1693
commit
b1a16a7b3d
|
@ -22,6 +22,6 @@ Destroys the vagrant environment.
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
run do |command|
|
run do |command|
|
||||||
Vagrant::Commands.execute(:down)
|
Vagrant::Commands.execute(:destroy)
|
||||||
end
|
end
|
||||||
end
|
end
|
|
@ -29,13 +29,13 @@ module Vagrant
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Tear down a vagrant instance. This not only shuts down the instance
|
# Destroys a vagrant instance. This not only shuts down the instance
|
||||||
# (if its running), but also deletes it from the system, including the
|
# (if its running), but also deletes it from the system, including the
|
||||||
# hard disks associated with it.
|
# hard disks associated with it.
|
||||||
#
|
#
|
||||||
# This command requires that an instance already be brought up with
|
# This command requires that an instance already be brought up with
|
||||||
# `vagrant up`.
|
# `vagrant up`.
|
||||||
def down
|
def destroy
|
||||||
env.require_persisted_vm
|
env.require_persisted_vm
|
||||||
env.vm.destroy
|
env.vm.destroy
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue