Closed aucampia closed 4 years ago
Thank you. I’ll take a look when vagrant supports it and adjust the templates. What‘s your experience? No other issues?
The latest version of vagrant, 2.2.7, supports virtualbox 6.1.x. Looking forward to removing the temporary fix. 😉
Thanks @alysov I'll take a look soon.
I am having this issue also on macOS, but I can't help but wonder what will happen if the templates are updated to use the new --clipboard-mode
flag. Surely this will just cause everything to break in the same way for users still on VirtualBox <6.1? Seems like that could affect a lot of LTS Linux distro users.
https://github.com/briancain says:
Hey all - This is an issue with the Vagrant box you are using. Please contact the box
maintainerfor a fix, Vagrant does not use the --clipboard option any where in its
codebase. <snip>
As a temprorary fix, you can always go directly into the Vagrantfile embedded inside the
box and fix up the flag and its arguments. Mine was located at:
~/.vagrant.d/boxes/peru-VAGRANTSLASH-ubuntu-18.04-server-amd64/20200104.02/virtualbox/Vagrantfile
https://github.com/hashicorp/vagrant/issues/11288#issuecomment-571231282
I've created #242 to rename the parameter. Sooner or later users update their VirtualBox, so I'm fine with that change.
There is no more
--clipboard
in VirtualBox 6.1 - it is now--clipboard-mode
:https://www.virtualbox.org/manual/UserManual.html#vboxmanage-cmd-overview
This causes the following to fail: https://github.com/StefanScherer/packer-windows/blob/2020.01.15/vagrantfile-windows_10.template#L25
With this error:
Just a heads up - I guess since VirtualBox 6.1 is not supported yet by vagrant this can technically not be considered a bug yet.