当我包装Homestead-box时:
? Homestead git:(master) vagrant halt ? Homestead git:(master) vagrant package --output h-0417.box The Vagrant virtual environment you are trying to package must be powered off. ? Homestead git:(master) vagrant box list coreos-alpha (virtualbox, 509.1.0) coreos-alpha (virtualbox, 522.0.0) laravel/homestead (virtualbox, 0.4.2) ? Homestead git:(master) vagrant package --output h-0417.box --base laravel/homestead.box ==> laravel/homestead.box: VM not created. Moving on... ? Homestead git:(master) pwd /Users/qk/Homestead ? Homestead git:(master) vagrant --version Vagrant 1.8.1
这是我的参考:
如何从现有的一个创建一个无用的基础框
如何创建一个CentOS流浪者基础框
并且我继续卸载一些并行插件并重新启动osx,它遇到了相同的错误:
vagrant plugin uninstall vagrant-parallels ? Homestead git:(master) vagrant package --output h-0418.box The Vagrant virtual environment you are trying to package must be powered off. ? Homestead git:(master) pwd /Users/qk/Homestead ? Homestead git:(master) ls LICENSE.txt composer.json homestead init.sh scripts Vagrantfile composer.lock init.bat readme.md src
是否有一些日志或如何签出安装了其他插件导致此错误。
我遇到了同样的问题,但是尝试启动Vagrant框,然后将其暂停,然后package命令起作用。