ppggff / vagrant-qemu

Use Vagrant to manage machines using QEMU. Test with Apple Silicon / M1 and CentOS aarch64 image
MIT License
408 stars 32 forks source link

fix the forwarded ports translation to qemu hostfwd entries #49

Closed rgl closed 11 months ago

rgl commented 11 months ago

This fixes https://github.com/ppggff/vagrant-qemu/issues/39.

This supersedes https://github.com/ppggff/vagrant-qemu/pull/47.

This now creates the entries as:

-netdev user,id=net0,hostfwd=tcp::50022-:22,hostfwd=tcp:127.0.0.1:55985-:5985,hostfwd=tcp:127.0.0.1:55986-:5986

Instead of:

-netdev user,id=net0,hostfwd=tcp::50022-:22,hostfwd=tcp:127.0.0.1::55985-:5985,hostfwd=tcp:127.0.0.1::55986-:5986
ppggff commented 11 months ago

Thanks, I will check this soon