我想給我的盒子多一些磁盤空間。我試圖通過vagrantfile要做到這一點,如下所示:調整流浪盒上的磁盤空間
Vagrant::Config.run do |config|
# ..
config.vm.customize ["modifyvm", :id, "--memory", 1024]
config.vm.customize ["modifyhd", :id, "--resize", 4096]
end
這給我的錯誤:
A customization command failed:
["modifyhd", "e87d8786-88be-4805-9c2a-45e88b8e0e56", "--resize", "4096"]
The following error was experienced:
VBoxManage: error: The given path 'e87d8786-88be-4805-9c2a-45e88b8e0e56' is not fully qualified
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Medium, interface IMedium, callee nsISupports
VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 178 of file VBoxManageDisk.cpp
Please fix this customization and try again.
我試圖從http://docs.vagrantup.com/v1/docs/config/vm/customize.html http://www.virtualbox.org/manual/ch08.html#vboxmanage-modifyvdi
這個問題似乎是題外話,因爲它不是關於編程。 – Filburt 2014-07-29 20:38:55
我認爲它是關於主題的,因爲定製腳本是用Ruby編寫的程序,並且與設置本質上是編程主題的開發環境有關。但 - 隨意放置這個問題,無論你喜歡:) – schellsan 2014-07-31 19:55:29