为了账号安全,请及时绑定邮箱和手机立即绑定

看一下,我vagrant 用不了

看一下,我vagrant 用不了

剑荷 2018-04-17 18:05:19
masterdeMac-mini:centos7 master$ vagrant upBringing machine 'default' up with 'virtualbox' provider...==> default: Importing base box 'centos7'...==> default: Matching MAC address for NAT networking...==> default: Setting the name of the VM: centos7_default_1523959353396_31662==> default: Clearing any previously set forwarded ports...Vagrant is currently configured to create VirtualBox synced folders withthe `SharedFoldersEnableSymlinksCreate` option enabled. If the Vagrantguest is not trusted, you may want to disable this option. For moreinformation on this option, please refer to the VirtualBox manual:  https://www.virtualbox.org/manual/ch04.html#sharedfoldersThis option can be disabled globally with an environment variable:  VAGRANT_DISABLE_VBOXSYMLINKCREATE=1or on a per folder basis within the Vagrantfile:  config.vm.synced_folder '/host/path', '/guest/path', SharedFoldersEnableSymlinksCreate: false==> 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: Booting VM...There was an error while executing `VBoxManage`, a CLI used by Vagrantfor controlling VirtualBox. The command and stderr is shown below.Command: ["startvm", "57b8db5c-68dc-45ad-9d0c-96e93b43dcd6", "--type", "headless"]Stderr: VBoxManage: error: The virtual machine 'centos7_default_1523959353396_31662' has terminated unexpectedly during startup with exit code 1 (0x1)VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine
查看完整描述

1 回答

?
little_newbee

TA贡献21条经验 获得超7个赞

同学你好,我也有这个问题,找到了答案,是新版的mac系统设置的不允许virtualbox安装时修改底层配置信息,打开系统偏好设置->安全性与隐私->文件保险箱->点击allow。再次安装virtualbox,再次启动vagrant up 就可以了。我个人是这样解决的。 

查看完整回答
2 反对 回复 2018-04-25
  • 1 回答
  • 0 关注
  • 3659 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信