With the latest version of Vagrant, I made my own vagrant box with Linux Debian Bullseye and the latest version of SSH.
vagrant up my virtualbox is runing but I can’t access to /vagrant. In the hypervisor configuration, the line for this directory appears and is the same as an other VM build with another box (Debian Buster). if I mount automatically the share folder with a click to the appropriate checkbox, all is OK. But during
vagrant up the share folder operation is not completed. Below the error I received :
==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat ==> default: Forwarding ports... default: 22 (guest) => 2222 (host) (adapter 1) ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key ==> default: Machine booted and ready! ==> default: Checking for guest additions in VM... The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed! cat /proc/modules Stdout from the command: Stderr from the command:
My host’s OS is the Linux Debian Buster distribution version and my Guest’s OS platform is the Linux Debian Bullseye distribution.
Thanks for you replies to (try to) solve this trouble !