Ubuntu Core
ssh-keygen -t rsa -b 4096unxz ubuntu-core-20-amd64.img.xzsudo apt install qemu-kvm ovmfkvm-okINFO: /dev/kvm exists
KVM acceleration can be usedqemu-system-x86_64 -smp 2 -m 2048 -net nic,model=virtio -net user,hostfwd=tcp::8022-:22,hostfwd=tcp::8090-:80 -vga qxl -drive file=/usr/share/OVMF/OVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on -drive file=ubuntu-core-20-amd64.img,cache=none,format=raw,id=disk1,if=none -device virtio-blk-pci,drive=disk1,bootindex=1 -machine accel=kvmLast updated