Virtualbox
Install windows
winget install Oracle.Virtualbox sudo multipass set local.driver=virtualbox
Main Menu
Manual
Tips & Tricks
Images
sudo apt-get remove qemu-kvm libvirt-bin
sudo apt install linux-headers-$(uname -r) build-essential dkms
Live Migration (Teleportation)
Teleporting between hosts of differing CPUs is not always successful.
To support teleporation, the VM guest hard drive must be located on some type of shared storage, "NFS, Windows share or iSCSI", which both computers have concurrent access to. The process of doing the teleporation is done by command line only.
A VM is created on the target computer with the exact same settings as the VM running on the source host including the same hard drives, but with the following modification to cause it to wait for the running state of the source VM to be sent to it.
VBoxManage modifyvm VMName --teleporter on --teleporterport 12345 --teleporterpassword PassWord
The target VM is started and it listens on the network for a connection from the source VM to transfer the VM state
VBoxManage --startvm VMName
The source VM is commanded to teleport itself to the waiting target VM.
VBoxManage controlvm VMName teleport --host TargetComputer --port 12345 --password PassWord
No console vir cli
So far, no answers. After more research it looks like VirtualBox does not provide this functionality. Best that it seems I can do is to use a remote desktop. For my CentOS, the most convenient app is rdesktop. You need to have the extension pack installed. Then enable remote desktop protocol for the client. Once the VM is running you can then use rdesktop to access the client console. If rdesktop is started immediately after the VM, you do get access to the boot sequence. Thus:
$ vboxmanage modifyvm "archive" --vrde on $ vboxmanage startvm "archive" --type headless ; rdesktop localhost
Affecting Bugs
sudo sed -i 's/ console=ttyS0//g' /etc/default/grub.d/50-cloudimg-settings.cfg sudo update-grub # However, you need ttyS0 in grub in order to interact with vm guest using