aboutsummaryrefslogtreecommitdiff
path: root/com.github.rimerosolutions.entrusted/entrusted-run
blob: 05648925f6e0c7b629b326228a6a7e6d22a3373f (plain) (blame)
1
2
3
4
#!/usr/bin/env bash
/app/bin/qemu-system-x86_64 -name entrusted,process=entrusted -pidfile ~/entrusted.pid -machine q35,smm=off,vmport=off -enable-kvm -cpu host,kvm=on -smp cores=2,threads=2,sockets=1 -m 2G -device virtio-balloon -smbios type=2,manufacturer="Quickemu Project",product=Quickemu,version=3.15,serial=0xDEADBEEF,location=quickemu.com,asset=entrusted -display none -rtc base=localtime,clock=host,driftfix=slew -monitor none -serial mon:stdio -device virtio-net,netdev=nic -netdev user,hostname=entrusted,hostfwd=tcp::13000-:13000,id=nic -drive media=cdrom,index=0,file=/app/bin/entrusted/entrusted.iso &
zypak-wrapper /app/bin/entrusted/entrusted "$@"
kill -SIGTERM $(cat ~/entrusted.pid)