VM has become 'inaccessible' - Vagrant no longer working

后端 未结 12 2172
礼貌的吻别
礼貌的吻别 2021-01-30 13:24

For some reason this morning when I run \'vagrant up\' I get the following error (this has worked absolutely fine for over a year)

Your VM has b         


        
12条回答
  •  深忆病人
    2021-01-30 13:35

    By chance if someone deletes your vm from VirtualBox VMs folder manually, also in this case your vm would become inaccessible. However, you will not be able to get your machine back but vagrant will still show your vm in the list. To remove it completely from the vm list, go to

    \.vagrant.d\data\machine-index 
    

    and open index file. Delete the reference of inaccessible machine. Next time when you run below command, it will not show your inaccessible machine.

    vagrant global-status --prune
    

提交回复
热议问题