0
我試圖讓一個流浪環境啓動並運行。它以前完美無瑕。流浪者不會說盒子不存在
我去我的環境,並做流浪漢了。 Vagrant不會找到這個盒子,然後去Hashicorp尋找它,即使它是在當地註冊的。
[<username>@localhost sugarcrm-vagrant-base]$ vagrant version
Installed Version: 1.8.1
Latest Version: 1.8.1
You're running an up-to-date version of Vagrant!
[<username>@localhost sugarcrm-vagrant-base]$ vagrant box list
<companyname>/opensuse132-sugarcrm75-base (virtualbox, 0)
[<username>@localhost sugarcrm-vagrant-base]$ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Box '<companyname>/opensuse132-sugarcrm75-base' could not be found. Attempting to find and install...
default: Box Provider: libvirt
default: Box Version: >= 0
The box '<companyname>/opensuse132-sugarcrm75-base' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:
URL: ["https://atlas.hashicorp.com/<companyname>/opensuse132-sugarcrm75-base"]
Error: The requested URL returned error: 404 Not Found
流浪者實例開始了,解決了這個問題。我不明白的是,我的Vagrant文件確實包含config.vm.provider,它被設置爲virtualbox –
,但是在虛擬機被克隆以提供提供程序特定參數後讀取config.vm.provider塊。不要確定要使用哪個提供程序,可以爲同一個Vagrantfile中的多個提供程序塊使用不同的提供程序(可以使用本地的提供程序,如vb或vmware以及AWS,DO等雲塊) –