Vagrant Up:执行`VBoxManage`时出错。没有足够的“import”命令参数

时间:2016-10-01 11:49:21

标签: linux vagrant virtualbox

我正在尝试在Windows 10上设置Linux实例,但我遇到以下错误。我正在使用Vagrant 1.8.6和VirtualBox 5.1.6。我尝试了多个框并获得了相同的结果,我已经在git bash或cmd中尝试过它,并且作为管理员而不是。

在空文件夹中运行:
vagrant init 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", "-n", ""]

Stderr: Oracle VM VirtualBox Command Line Management Interface Version 5.1.6
(C) 2005-2016 Oracle Corporation
All rights reserved.

Usage:

VBoxManage import           <ovfname/ovaname>
                            [--dry-run|-n]
                            [--options keepallmacs|keepnatmacs|importtovdi]
                            [more options]
                            (run with -n to have options displayed
                             for a particular OVF)


Syntax error: Not enough arguments for "import" command.

任何帮助将不胜感激,
谢谢。

1 个答案:

答案 0 :(得分:0)

此时没有足够的信息。 你能在调试模式下运行vagrant吗?

set VAGRANT_LOG=debug
vagrant up

这应该提供更多信息。

相关问题