Setup cloud-hypervisor.
sudo setcap cap_net_admin+ep $(which cloud-hypervisor)Download and prepare assets.
make assetsBuild the example code.
make buildRun the example code.
make run
Login using jumppad as user and cloud123 as password.
Ubuntu 24.04 LTS microvm hvc0
microvm login:From another terminal session, confirm that the virtual machine is running.
sudo curl -s --unix-socket /tmp/cloud-hypervisor.sock \
http://localhost/api/v1/vm.info | jq .To exit and cleanup. Either shutdown the machine gracefully or forcefully.
# Gracefully from inside the vm.
jumppad@microvm:~$ sudo shutdown -h now
# Then after a few seconds, exit the process with CTRL+C# Forcefully from outside the vm.
make kill