diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-06-09 13:25:24 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-06-09 13:25:24 -0400 |
commit | 0a7b895f010760d07b2208e17ec7eef4cbab1949 (patch) | |
tree | af44111a20abe97449b4e4fe414a9c15f35cde17 /home/.vm/Makefile | |
parent | d6baae28e4ffc853da4e114592480b9baaaa84b3 (diff) |
Diffstat (limited to 'home/.vm/Makefile')
-rw-r--r-- | home/.vm/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/home/.vm/Makefile b/home/.vm/Makefile index 3e0b8d6..651ffe6 100644 --- a/home/.vm/Makefile +++ b/home/.vm/Makefile @@ -1,12 +1,12 @@ .POSIX: -VM="fedora.img" +VM=fedora CPU=-smp 4 MEM=-m 4G DISP=-display none run: @qemu-system-x86_64 -enable-kvm $(CPU) $(MEM) -drive\ - file=$(VM),format=raw $$([ -z $(CDR) ]|| echo -cdrom $(CDR) -boot\ - d) $$(echo -n "-net user"; for port in $(PORTS); do echo -n\ + file=$(VM).img,format=raw $$([ -z $(CDR) ]|| echo -cdrom $(CDR)\ + -boot d) $$(echo -n "-net user"; for port in $(PORTS); do echo -n\ ",hostfwd=tcp::$${port}-:$${port}"; done;) $(DISP) -net nic |