Kubeadm installation using Vagrant file

Hi,

I am trying to setup a cluster using kubadm using the vagrant file in my laptop. After rebooting the laptop, all the installations were removed from the Master and worker nodes, Those are all came like new VMs.

Should I start the installation from the scratch again? Is there any way to save the setup?

Thanks.

What is the output of vagrant status?

root@ram-pc:~/certified-kubernetes-administrator-course# vagrant status
==> vagrant: A new version of Vagrant is available: 2.2.18 (installed version: 2.2.9)!
==> vagrant: To upgrade visit: Install | Vagrant | HashiCorp Developer

The provider ‘virtualbox’ that was requested to back the machine
‘kubemaster’ is reporting that it isn’t usable on this system. The
reason is shown below:

VirtualBox is complaining that the kernel module is not loaded. Please
run VBoxManage --version or open the VirtualBox GUI to see the error
message which should contain instructions on how to fix this error.

What is the current version of virtual box? Also what is the output of VBoxManage --version?

VirtualBox - Version 6.1.26 r145957 (Qt5.12.8)

oot@ram-pc:~/certified-kubernetes-administrator-course# VBoxManage --version
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (5.11.0-36-generic) or it failed to
load. Please recompile the kernel module and install it by

       sudo /sbin/vboxconfig

     You will not be able to start VMs until this problem is fixed.

6.1.26r145957

try to remove the current version of virtualbox and install v6.2

As per my check the latest version is 6.1.26. I couldn’t found 6.2.

Please advise.

Thanks.