From e85d6410af991ec81b847541a48026ae973cde7e Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Thu, 29 Jul 2021 23:52:39 +0200 Subject: add navi cheats --- .../share/navi/cheats/robertgzr__cheats/qemu.cheat | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .local/share/navi/cheats/robertgzr__cheats/qemu.cheat (limited to '.local/share/navi/cheats/robertgzr__cheats/qemu.cheat') diff --git a/.local/share/navi/cheats/robertgzr__cheats/qemu.cheat b/.local/share/navi/cheats/robertgzr__cheats/qemu.cheat new file mode 100644 index 0000000..d92b88b --- /dev/null +++ b/.local/share/navi/cheats/robertgzr__cheats/qemu.cheat @@ -0,0 +1,28 @@ + +% qemu, balena + +# boots a balenaOS vm + +qemu-system-x86_64 -name balena0 \ + -netdev "user,id=net0,hostfwd=tcp::22222-:22222" -device e1000,netdev=net0 \ + -bios /usr/share/edk2-ovmf/OVMF_CODE.fd \ + -m 4G -smp 4 \ + -cpu max \ + -machine type=pc,accel=kvm \ + -display none \ + -drive format=vvfat,file=fat:rw:/tmp/qemu,index=1 \ + -drive format=raw,cache=none,if=virtio,index=0,file=balena.img + + +% qemu, ubuntu + +# boots an ubuntu vm + +qemu-system-x86_64 -name ubuntu0 \ + -netdev "user,id=net0,hostfwd=tcp::2222-:22" -device e1000,netdev=net0 \ + -m 4G -smp 4 \ + -cpu max \ + -machine type=pc,accel=kvm \ + -display none \ + -drive format=vvfat,file=fat:rw:/tmp/qemu,index=1 \ + -drive format=qcow2,cache=none,index=0,file=/home/robert/ubuntu.qcow2 -- cgit 1.4.1