#!/bin/bash
rm -f /tmp/amos-test.img
truncate -s 20G /tmp/amos-test.img
qemu-system-x86_64 \
  -enable-kvm \
  -m 4096 -cpu host \
  -cdrom /home/annestar/amos-current/repo/amos-current-ghostnet-x86_64.iso \
  -drive file=/tmp/amos-test.img,format=raw,if=ide,index=0 \
  -netdev user,id=net0,hostfwd=tcp::2222-:62222 \
  -device virtio-net-pci,netdev=net0 \
  -display gtk,zoom-to-fit=off &
