Skip to content

Instantly share code, notes, and snippets.

@samueldr
Created February 25, 2018 03:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samueldr/4d92ab222cb5b84dc5694a20c3cfefb0 to your computer and use it in GitHub Desktop.
Save samueldr/4d92ab222cb5b84dc5694a20c3cfefb0 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
exec \
qemu-system-x86_64 \
--enable-kvm \
-bios $(nix-attr-path OVMF.fd)/FV/OVMF.fd \
-device e1000,netdev=net0 \
-netdev user,id=net0 \
"$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment