#! /bin/sh sleep 60 if ! ifconfig -l | grep -q tap666; then ifconfig tap666 create ifconfig tap666 up 10.76.0.1 netmask 255.255.255.0 fi cd /build/qemu qemu-system-x86_64 \ -daemonize \ -machine type=q35,accel=nvmm \ -smp cpus=8 -m 8G \ -drive file=jenkins-ursa.qcow2,if=none,id=disk0 \ -device virtio-blk-pci,drive=disk0 \ -netdev tap,ifname=tap666,id=net0,script=no,downscript=no \ -device virtio-net-pci,netdev=net0,mac=52:55:00:d1:55:04 \ -object rng-random,id=rng0,filename=/dev/urandom \ -device virtio-rng-pci,rng=rng0 \ -vga qxl \ -spice addr=127.0.0.1,port=5900,ipv4=on,disable-ticketing=on,seamless-migration=on