I am trying to shut down Vagrant with vagrant halt command, but getting this error:
(blog-venv)vagrant@precise64:/vagrant$ vagrant halt The program 'vagrant' is currently not installed. You can install it by typing: sudo apt-get install vagrant
Why?
vagrant commands must be executed from the local machine. If you look at your bash prompt, you are still sshed (secure shelled) into your virtual machine. You need to exit the ssh session and then run the vagrant commands on your local machine in the local directory where your Vagrantfile
configuration file is located.
You have SSHed into the vagrant machine.
first executeexit
to get back to your machine and then executevagrant halt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With