-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VirtualBox: Mounting shared folder with vboxsf failed #234
Comments
This has nothing to to with VirtualBox or the Addons (see in #207). I used the new VirtualBox version where the VirtualBox bug is fixed / closed (https://www.virtualbox.org/ticket/12879). I debugged a little bit more with the scripts (i.e. cleanup.sh). It seems to be an Bento script problem under Ubuntu. More details come later. |
In the script
That means after running the
If a new Vagrant box based on this packer box will be created the system boots with the new kernel. For this kernel there are no appropriate VirtualBox addons available. The kernel module One simple solution could be to change the command order in the
This still installs new kernel packages but purges them thereafter immediately. |
To get VirtualBox Additions on CentOS 7.0 running, make sure you have at least VirtualBox 4.3.14 installed. |
+1. I wish I had found this before I let my computer spend almost an hour building images. |
I forget where we left this, @reneoelke -- is this ready to go? |
@juliandunn See pull request #235. Everything should be fixed and ready to merge. |
This issue can be closed. |
Version:
Environment:
Scenario:
Using a new box based on VirtualBox with Vagrant produces an error when mounting the shared folder. Vagrant is running but the project folder inside the box is empty because its not mounted.
Steps to Reproduce:
git clone https://github.com/opscode/bento.git
cd bento/packer
packer build --only=virtualbox-iso ubuntu-14.04-amd64.json
vagrant up
Expected Result:
When creating the new box with packer everything should to be fine:
When running Vagrant with
vagrant up
everything should be fine (shared folder should be mounted):Actual Result:
Creating the new box with packer is fine.
When running Vagrant with
vagrant up
directly after the new box was created with packer the shared folder mounting failed:The text was updated successfully, but these errors were encountered: