2 Star 1 Fork 1

wangjiang988 / vbox

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
readme.md

https://download.virtualbox.org/virtualbox/6.1.4/VirtualBox-6.1-6.1.4_136177_el7-1.x86_64.rpm

https://releases.hashicorp.com/vagrant/2.2.7/vagrant_2.2.7_x86_64.rpm

https://vagrantcloud.com/centos/boxes/7/versions/1902.01/providers/virtualbox.box

share folder error

Vagrant was unable to mount VirtualBox shared folders. This is usually because the filesystem "vboxsf" is not available. This filesystem is made available via the VirtualBox Guest Additions and kernel module. Please verify that these guest additions are properly installed in the guest. This is not a bug in Vagrant and is usually caused by a faulty Vagrant box. For context, the command attempted was: mount -t vboxsf -o nolock,vers=3,udp,noatime,actimeo=2,fsc,uid=1000,gid=1000 core /vagrant T

vagrant plugin install vagrant-vbguest

if stoped

https://blog.csdn.net/hedy5566/article/details/79228570

vagrant plugin install vagrant-vbguest --plugin-source=https://gems.ruby-china.com/

Command: ["hostonlyif", "create"]

There was an error while executing VBoxManage, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below.

Bringing machine 'default' up with 'virtualbox' provider... [default] Importing base box 'Cupcake'... [default] Matching MAC address for NAT networking... [default] Setting the name of the VM... [default] Clearing any previously set forwarded ports... [default] Creating shared folders metadata... [default] Clearing any previously set network interfaces... There was an error while executing VBoxManage, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below.

Command: ["hostonlyif", "create"]

Stderr: 0%... Progress state: NS_ERROR_FAILURE VBoxManage: error: Failed to create the host-only adapter VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory

VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterface, interface IHostNetworkInterface VBoxManage: error: Context: "int handleCreate(HandlerArg*, int, int*)" at line 68 of file VBoxManageHostonly.cpp The solution is pretty ease :

OSX

sudo /Library/StartupItems/VirtualBox/VirtualBox restart Linux

sudo modprobe vboxnetadp

我的是mac 没找到这个路径

sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart

这个命令也没执行成功

》》 需要去系统首选项授权,也就是:系统偏好设置->安全与隐私->通用


No package kernel-devel-3.10.0-1062.18.1.el7.x86_64 available. Error: Nothing to do Unmounting Virtualbox Guest Additions ISO from: /mnt umount: /mnt: not mounted ==> centos7: Checking for guest additions in VM... The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed!

回退版本 上面自动安装的是 0.29.0 最新版 vagrant plugin install vagrant-vbguest --plugin-version 0.21

Repository Comments ( 0 )

Sign in to post a comment

About

vagrant 环境库,用来快速构建开发环境 expand collapse
Shell and 4 more languages
Apache-2.0
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
1
https://gitee.com/leoss/vbox.git
git@gitee.com:leoss/vbox.git
leoss
vbox
vbox
master

Search