The box failed to unpackage properly. Please verify that the box file you're trying to add is not corrupted and that enough disk space is available and then try again. The output from attempting to unpackage (if any): x ./box.ovf x ./Vagrantfile x ./box-disk001.vmdk: Write failed bsdtar.EXE: Error exit delayed from previous errors.
使用vagrant up啓動虛擬機的時候,打包的虛擬機會保存在.vagrant.d/boxes目錄下,這個文件夾默認是存放在系統盤上的C:/Users/{用戶名}目錄下的,若是box文件很是多的話,會形成空間不夠。spa
解決方案:把這個目錄移到其它盤vagrant
一、將.vagrant.d文件夾剪切到別的盤,好比d:/software/vagrant/.vagrant.dcode
二、設置環境變量VAGRANT_HOME爲d:/software/vagrant/.vagrant.dblog
三、在path環境變量下添加%VAGRANT_HOME%虛擬機