Created
October 30, 2022 17:32
-
-
Save rgolangh/1d5329cbbd659c655e9e364716c20bba to your computer and use it in GitHub Desktop.
A makefile to spin rhivos 9 vm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SHELL := /bin/bash | |
IMG = rhivos9-x86_64.qcow | |
run-vm: | |
qemu-kvm \ | |
-m 8G \ | |
-cpu host \ | |
-smp sockets=2,cores=2 \ | |
-machine q35 \ | |
-nographic \ | |
-drive file=$(IMG) \ | |
-netdev user,id=n1 \ | |
-device virtio-net,netdev=n1 \ | |
-device virtio-rng-pci \ | |
-bios /usr/share/edk2/ovmf/OVMF.inteltdx.fd \ | |
-name rhivos9 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment