执行`VBoxManage`时出错,这是Vagrant在Windows 7中使用的CLI

时间:2016-06-21 21:23:20

标签: vagrant vagrantfile

当我尝试运行" vagrant up"我收到此错误命令。

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'ubuntu/trusty64'...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["import", "C:/Users/dell/.vagrant.d/boxes/ubuntu-VAGRANTSLASH-trusty64/20160610.0.0/virtualbox/box.ovf", "--vsys", "0", "--vmname", "ubuntu-cloudimg-trusty-vagrant-amd64_1466542004813_74377", "--vsys", "0", "--unit", "6", "--disk", "C:\\Users\\dell\\VirtualBox VMs\\ubuntu-cloudimg-trusty-vagrant-amd64_1466542004813_74377\\box-disk1.vmdk"]

Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting C:\Users\dell\.vagrant.d\boxes\ubuntu-VAGRANTSLASH-trusty64\20160610.0.0\virtualbox\box.ovf...
OK.
0%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage.exe: error: Appliance import failed
VBoxManage.exe: error: Could not create the imported medium 'C:\Users\dell\VirtualBox VMs\ubuntu-cloudimg-trusty-vagrant-amd64_1466542004813_74377\box-disk1.vmdk' (VERR_VD_VMDK_INVALID_FORMAT)
VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component ApplianceWrap, interface IAppliance
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleImportAppliance(struct HandlerArg *)" at line 877 of file VBoxManageAppliance.cpp

任何人都可以帮助我理解告诉我为什么我在运行时会出现上述错误" vagrant up"命令。

0 个答案:

没有答案