mirror of
https://github.com/techno-tim/k3s-ansible.git
synced 2026-08-09 07:23:19 +02:00
test(molecule): update Vagrant boxes to current releases
- Use published Bento boxes for Ubuntu 26.04, Debian 13, and Rocky Linux 10.1.\n- Pin exact VirtualBox amd64 box versions in CI.\n- Remove the obsolete Ubuntu SSH workaround and update fixtures.
This commit is contained in:
committed by
Techno Tim
parent
2babd39c89
commit
68d03acc68
@@ -70,14 +70,6 @@ write_prewarm_vagrantfile() {
|
||||
printf '%s\n' "Vagrant.configure('2') do |config|"
|
||||
printf ' config.vm.box = "%s"\n' "$box"
|
||||
printf ' config.vm.box_version = "%s"\n' "$version"
|
||||
# generic/ubuntu2204 does not accept Vagrant's bundled insecure key.
|
||||
# Match the repository's Molecule connection settings for the short-lived
|
||||
# prewarm clone so Vagrant can record its linked-clone master.
|
||||
if [[ "$box" == 'generic/ubuntu2204' ]]; then
|
||||
printf '%s\n' \
|
||||
' config.ssh.username = "vagrant"' \
|
||||
' config.ssh.password = "vagrant"'
|
||||
fi
|
||||
printf '%s\n' \
|
||||
' config.vm.synced_folder ".", "/vagrant", disabled: true' \
|
||||
' config.vm.hostname = "k3s-ansible-box-prewarm"' \
|
||||
|
||||
Reference in New Issue
Block a user