Vagrant Config Error - “A box must be specified.”

前端 未结 3 496
Happy的楠姐
Happy的楠姐 2021-02-08 00:59

The boxes were working fine. Then I halted one (the only one running at the time) and now I can\'t get either of them back up.


Running vagrant up [name]

3条回答
  •  既然无缘
    2021-02-08 01:29

    For someone that is having this issue now:

    I had deleted my Vagrantfile before trying to destroy it. You need to run the vagrant destroy command from the right directory where the Vagrantfile for that process is.

    Run vagrant ssh-config and look at the directory column.

    If you, like me, deleted the file, do:

    vagrant init
    

    Then

    vagrant destroy $id
    

    P.S.: Use sudo if you have permission issues running those commands.

提交回复
热议问题