It seems that from a certain point in time the official VyOS current vagrant box images (https://app.vagrantup.com/vyos/boxes/current) are broken in some may (I’m using libvirt ones).
vagrant up is stuck at:
vy1: Warning: Authentication failure. Retrying...
I tried to force the Vagrantfile for having:
vy1.ssh.username="vyos"
vy1.ssh.password="vyos"
but nothing changes.
Most probably this is due to missing vagrant default public key?
NOTE: everything was working fine with the 20220920.02.18 image (same Vagrantfile), so the break happened between that time and 20221117.
The commit is turning off SSH PasswordAuthentication by default, so VyOS doesn’t expose “password” in SSH authentication methods list anymore. With most clients “keyboard-interactive” (because of VyOS ChallengeResponseAuthentication=yes by default) can be used to authenticate by entering the password, but Vagrant doesn’t list this method during the first SSH connection. The thing is not configurable.
You can “fix” this by hacking Vagrant’s plugins/communicators/ssh/communicator.rb and adding “keyboard-interactive” to auth_methods around line 408.