cloud-hypervisor

$ wget https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img $ qemu-img convert -p -f qcow2 -O raw focal-server-cloudimg-amd64.img focal-server-cloudimg-amd64.raw $ wget https://github.com/cloud-hypervisor/rust-hypervisor-firmware/releases/download/0.4.2/hypervisor-fw

rm -f /tmp/ubuntu-cloudinit.img mkdosfs -n CIDATA -C /tmp/ubuntu-cloudinit.img 8192 mcopy -oi /tmp/ubuntu-cloudinit.img -s test_data/cloud-init/ubuntu/local/user-data :: mcopy -oi /tmp/ubuntu-cloudinit.img -s test_data/cloud-init/ubuntu/local/meta-data :: mcopy -oi /tmp/ubuntu-cloudinit.img -s test_data/cloud-init/ubuntu/local/network-config ::

instance-id: cloud local-hostname: cloud

version: 2 ethernets: ens4: match: macaddress: 12:34:56:78:90:ab addresses: [192.168.249.2/24] gateway4: 192.168.249.1

#cloud-config users:

ssh_pwauth: True

$ sudo setcap cap_net_admin+ep ./cloud-hypervisor $ ./create-cloud-init.sh $ ./cloud-hypervisor
--firmware ./hypervisor-fw
--disk path=focal-server-cloudimg-amd64.raw path=/tmp/ubuntu-cloudinit.img
--cpus boot=4
--memory size=1024M
--net "tap=,mac=,ip=,mask="

← Incoming Links (1)

Index
wiki • Line 13
"- cloud-hypervisor (..."

→ Outgoing Links (1)

tag/cloud-config (broken link)
hashtag • Line 27
"cloud-conf..."