#!/bin/bash #run create-network.sh manually DISPLAY="-daemonize -serial telnet:localhost:7000,server,nowait,nodelay -monitor telnet:localhost:7100,server,nowait,nodelay -vnc :0" sudo qemu-system-aarch64 -smp cpus=6 -M virt -cpu max -m 2G $DISPLAY\ -pidfile $pidfile \ -drive file=QEMU_EFI.img,if=pflash,format=raw \ -drive file=varstore.img,if=pflash \ -drive file=disk.qcow2,if=virtio \ -netdev tap,id=my_vnet_2,br=/dev/bridge1,script=/opt/bin/qemu-ifup.sh,downscript=/opt/bin/qemu-ifdown.sh \ -device e1000,netdev=my_vnet_2,mac=52:54:00:12:34:56