Ubuntu 20.04 LTS 中的 Vagtant
Vagtant in Ubuntu 20.04 LTS
流浪起来
==> vagrant:Vagrant 的新版本可用:2.2.14(已安装版本:2.2.9)!
==> vagrant:升级访问:Vagrant Link
正在将机器 'default' 与 'virtualbox' 供应商联系起来...
==> 默认值:找不到框 'ubuntu/bioni64'。正在尝试查找并安装...
默认值:Box 提供程序:virtualbox
默认值:盒子版本:~> 201901314.0.0
Vagrant 当前配置为创建 VirtualBox 同步文件夹
SharedFoldersEnableSymlinksCreate
选项已启用。如果流浪汉
来宾不受信任,您可能希望禁用此选项。更多
关于这个选项的信息,请参考VirtualBox手册:
https://www.virtualbox.org/manual/ch04.html#sharedfolders
可以使用环境变量全局禁用此选项:
VAGRANT_DISABLE_VBOXSYMLINKCREATE=1
或基于 Vagrantfile 中的每个文件夹:
config.vm.synced_folder '/host/path', '/guest/path',
SharedFoldersEnableSymlinksCreate: false
==> default: Clearing any previously set network interfaces...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> defThere was an error while executing VBoxManage
, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown
below.
Command: ["startvm", "2ae67e96-d553-415e-9624-c5381293436e", "--type", "headless"]
Stderr:VBoxManage:错误:在 BIOS 中禁用了所有 CPU 模式的 VT-x (VERR_VMX_MSR_ALL_VMX_DISABLED)
VBoxManage: 错误: 详细信息: 代码 NS_ERROR_FAILURE (0x80004005),组件 ConsoleWrap,接口 IConsole
请从您的 BIOS 启用虚拟化。那应该可以解决问题。
流浪起来 ==> vagrant:Vagrant 的新版本可用:2.2.14(已安装版本:2.2.9)! ==> vagrant:升级访问:Vagrant Link
正在将机器 'default' 与 'virtualbox' 供应商联系起来...
==> 默认值:找不到框 'ubuntu/bioni64'。正在尝试查找并安装...
默认值:Box 提供程序:virtualbox
默认值:盒子版本:~> 201901314.0.0
Vagrant 当前配置为创建 VirtualBox 同步文件夹
SharedFoldersEnableSymlinksCreate
选项已启用。如果流浪汉
来宾不受信任,您可能希望禁用此选项。更多
关于这个选项的信息,请参考VirtualBox手册:
https://www.virtualbox.org/manual/ch04.html#sharedfolders
可以使用环境变量全局禁用此选项:
VAGRANT_DISABLE_VBOXSYMLINKCREATE=1
或基于 Vagrantfile 中的每个文件夹:
config.vm.synced_folder '/host/path', '/guest/path', SharedFoldersEnableSymlinksCreate: false ==> default: Clearing any previously set network interfaces...
==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat ==> default: Forwarding ports... default: 22 (guest) => 2222 (host) (adapter 1) ==> default: Running 'pre-boot' VM customizations... ==> defThere was an error while executing
VBoxManage
, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below. Command: ["startvm", "2ae67e96-d553-415e-9624-c5381293436e", "--type", "headless"]
Stderr:VBoxManage:错误:在 BIOS 中禁用了所有 CPU 模式的 VT-x (VERR_VMX_MSR_ALL_VMX_DISABLED) VBoxManage: 错误: 详细信息: 代码 NS_ERROR_FAILURE (0x80004005),组件 ConsoleWrap,接口 IConsole
请从您的 BIOS 启用虚拟化。那应该可以解决问题。