`vagrant down` is now `vagrant destroy`

This commit is contained in:
Mitchell Hashimoto 2010-04-09 21:39:38 -07:00
parent 43f66c1693
commit b1a16a7b3d
2 changed files with 3 additions and 3 deletions

View File

@ -22,6 +22,6 @@ Destroys the vagrant environment.
EOS
run do |command|
Vagrant::Commands.execute(:down)
Vagrant::Commands.execute(:destroy)
end
end

View File

@ -29,13 +29,13 @@ module Vagrant
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
# hard disks associated with it.
#
# This command requires that an instance already be brought up with
# `vagrant up`.
def down
def destroy
env.require_persisted_vm
env.vm.destroy
end