executable_debian.sh 866 B

12345678910111213141516171819
  1. #!/bin/sh
  2. # -net nic -net bridge,br=bridge0
  3. export QEMU_AUDIO_DRV=pa
  4. export QEMU_PA_SERVER=/run/user/1000/pulse/native
  5. exec qemu-system-x86_64 \
  6. -daemonize \
  7. -m 4096 \
  8. -enable-kvm \
  9. -cpu host \
  10. -soundhw hda \
  11. -hda /srv/virt/debian-gnome.img \
  12. -virtfs local,path=/srv/share,security_model=none,mount_tag=TAG_share \
  13. "$@"
  14. # -cdrom /srv/archive/debian/debian-live-9.1.0-amd64-gnome.iso -boot order=d