vagrant up 时如何指定不同的磁盘?
在 Windows 上用 Vagrant ,
vagrant up
后安装路径自动找了我的L盘,怎么给它设置成别的盘?
Progress state: VBOX_E_FILE_ERROR
VBoxManage.exe: error: Appliance import failed
VBoxManage.exe: error: Could not create the clone medium 'L:\VirtualBox VMs\ubun
tu-cloudimg-trusty-vagrant-amd64\box-disk1.vmdk'.
VBoxManage.exe: error: VMDK: could not create new grain directory in 'L:\Virtual
Box VMs\ubuntu-cloudimg-trusty-vagrant-amd64/box-disk1.vmdk' (VERR_DISK_FULL).
VBoxManage.exe: error: VMDK: error writing descriptor in 'L:\VirtualBox VMs\ubun
tu-cloudimg-trusty-vagrant-amd64\box-disk1.vmdk' (VERR_DISK_FULL)
VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component A
ppliance, interface IAppliance
VBoxManage.exe: error: Context: "int __cdecl handleImportAppliance(struct Handle
rArg *)" at line 779 of file VBoxManageAppliance.cpp
星野ましろ
10 years, 3 months ago
Answers
原因
VirtualBox的空间满了。
这样设置新的路径:
d:\>mkdir vms
# 改路径
d:\vms>"C:\Program Files\Oracle\VirtualBox\VBoxManage" setproperty machinefolder d:\vms
参照
伊藤冠希。诚
answered 10 years, 3 months ago