Make ports 22 and 3000 accessible on demo qemu (?)
Seems to me that the following patch is needed for actually accessing stuff on ports 22 & 3000 on the qemu machine when running the demo. Because the README tells us to run stprov with -i 10.0.2.10/27
, and the default guest IP for hostfwd is 10.0.2.15
(when not set).
diff --git a/tasks/qemu.yml b/tasks/qemu.yml
index cda793c..7dc062b 100644
--- a/tasks/qemu.yml
+++ b/tasks/qemu.yml
@@ -62,7 +62,7 @@ tasks:
{{.OVMF_ARG}}
{{.KVM_ARG}}
-M q35
- -net user,hostfwd=tcp::2222-:22,hostfwd=tcp::3000-:3000
+ -net user,hostfwd=tcp::2222-10.0.2.10:22,hostfwd=tcp::3000-10.0.2.10:3000
-net nic
-object rng-random,filename=/dev/urandom,id=rng0
-device virtio-rng-pci,rng=rng0