mac执行vagrant命令报错

执行:vagrant box add命令

错误提示:

An error occurred while downloading the remote file. The error

message, if any, is reproduced below. Please fix this error and try

again.

解决办法:sudo rm /opt/vagrant/embedded/bin/curl

执行:vagrant up报错

An error occurred while downloading the remote file. The error

message, if any, is reproduced below. Please fix this error and try

again.

解决办法:

vagrant plugin install vagrant-hostsupdater

然后检查

config.vm.box是否是新增的box名字



Bookmark the permalink.

Comments are closed.