You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should trigger the warning message and run the shell command line.
Actual behavior
==> ubs-ra-dev-local: Waiting for machine to boot. This may take a few minutes...
zzz: SSH address: 127.0.0.1:2222
zzz: SSH username: vagrant
zzz: SSH auth method: private key
zzz:
zzz: Vagrant insecure key detected. Vagrant will automatically replace
zzz this with a newly generated keypair for better security.
zzz:
zzz: Inserting generated public key within guest...
zzz: Removing insecure key from the guest if it's present...
zzz: Key inserted! Disconnecting and reconnecting using new SSH key...
==> zzz: Machine booted and ready!
[zzz] No Virtualbox Guest Additions installation found.
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Steps to reproduce
Create a CentOS box with the latest base box and add the trigger from my Vagrantfile
References
The latest CentOS base box provided by CentOS has an outdated kernel version, while the kernel devel package is not in repos anymore.
Hey there,
taking a look at your debug output it seems like this is the correct behavior for Vagrant. Typed triggers are a an experimental Vagrant feature. To enable them set the VAGRANT_EXPERIMENTAL environment variable to typed_triggers.
You can tell that this feature has been enabled when the Vagrant output includes a message like:
==> vagrant: You have requested to enabled the experimental flag with the following features:
==> vagrant:
==> vagrant: Features: typed_triggers
==> vagrant:
==> vagrant: Please use with caution, as some of the features may not be fully
==> vagrant: functional yet.
Once this feature is enabled, then Vagrant should have your desired behavior.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked as resolved and limited conversation to collaborators
Apr 8, 2021
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Vagrant version
Vagrant 2.2.14
Host operating system
macOS Catalina 10.15.7
Guest operating system
centos/7
Vagrantfile
Debug output
https://gist.github.com/veics/54b043595dba545c6be5f766e24fc14c
Expected behavior
Should trigger the warning message and run the shell command line.
Actual behavior
==> ubs-ra-dev-local: Waiting for machine to boot. This may take a few minutes...
zzz: SSH address: 127.0.0.1:2222
zzz: SSH username: vagrant
zzz: SSH auth method: private key
zzz:
zzz: Vagrant insecure key detected. Vagrant will automatically replace
zzz this with a newly generated keypair for better security.
zzz:
zzz: Inserting generated public key within guest...
zzz: Removing insecure key from the guest if it's present...
zzz: Key inserted! Disconnecting and reconnecting using new SSH key...
==> zzz: Machine booted and ready!
[zzz] No Virtualbox Guest Additions installation found.
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Steps to reproduce
Create a CentOS box with the latest base box and add the trigger from my Vagrantfile
References
The latest CentOS base box provided by CentOS has an outdated kernel version, while the kernel devel package is not in repos anymore.
Workaround using triggers taken from here: dotless-de/vagrant-vbguest#351
Proof that I'm not the only one encountering this issue: #12095
The text was updated successfully, but these errors were encountered: