Kitaab

qemu run qcow2 image for Capsul

tip linux cli

published 2022-07-18 17:21

updated 2023-06-07 23:34

Uses the file nixos-minimal-22.05-x86_64.qcow2 to run a virtual machine via qemu. The options I've included are used specifically with Capsul which is where I'm trying to move my infrastructure to

{{{bash qemu-system-x86_64 -enable-kvm -m 2048 -nic user,model=virtio -drive file=nixos-minimal-22.05-x86_64.qcow2,media=disk,if=virtio -sdl }}}