Vagrant stop does not work

I am trying to close Vagrant using the abusive halt command, but I get this error:

(blog-venv) vagrant @ exact64: / vagrant $ vagrant halt Currently, the "tramp" program is not installed. You can install it by typing: sudo apt-get install vagrant

Why?

+6
source share
1 answer

vagrant commands must be executed from the local machine. If you look at your bash prompt, you can still defer (secure shelling) to your virtual machine. You need to log out of the ssh session and then run the vagrant commands on the local computer in the local directory where your Vagrantfile configuration file is Vagrantfile .

You have sshed into a vagrant car. first exit to return to your computer and then do vagrant halt

+11
source

Source: https://habr.com/ru/post/977592/


All Articles