-
Notifications
You must be signed in to change notification settings - Fork 51
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
Vagrant image does not have /mnt path #72
Comments
What host OS are you running? I ran into the same error after upgrading to macOS 12.1 and fixed it by reinstalling the |
@JeffPsycle In addition to @yippeykeiyay's comment, We need the details below to reproduce the issue.
|
Thanks for the reply, here are the details: OS Version: Fedora 34
Versions of all the installed plugins:
|
I just gave reinstalling vbguest a go, no luck sadly. |
Dear @JeffPsycle and @yippeykeiyay , Finally, I got time to install the VirtualBox provider and this plugin to try to produce the issue, and I did. |
@LKHN thanks for the update. Unfortunately I am currently running Fedora 36 and it has a fair number of issues with VirtualBox at the moment. Waiting on VB 3.1.35 so I can test this correctly. I can confirm however that the /mnt folder is available and should get the members of my team running this on non-M1 Macs working smoothly. Will chime in with a status update as soon as Virtual Box updates. |
@LKHN VirtualBox 3.1.36 just came out which has fixed the 5.18 kernel issue so I have been able to test this and confirm that the |
Using the "state: absent" for ansible.posix.mount module on "Unmount VBoxGuestAdditions.iso" task, deletes the mounpoint, in this case, it's the `/mnt` directory. On the other hand, using the "state: unmounted" results stuck the Vagrant box while the creation of the VMs. Propose: Since it's a temporary ISO mount and unmount procedure, let's use a temporary fstab and do not touch the /etc/fstab at all. There's a long-awaited PR for adding "state: ephemeral" support to the ansible.posix.mount module[^1]. We can switch to use this option after the PR merged to the upstream. This patch can be tested on https://app.vagrantup.com/almalinux/boxes/8/versions/8.6.20220715 and https://app.vagrantup.com/almalinux/boxes/9/versions/9.0.20220715 Vagrant boxes. Fixes: AlmaLinux/cloud-images#72 [^1]: ansible-collections/ansible.posix#267 Signed-off-by: Elkhan Mammadli <[email protected]>
When using the vagrant-vbguest plugin I have to ssh into the machine before it completes package installs and create the
/mnt
folder for the machine to come up cleanly.The text was updated successfully, but these errors were encountered: