ppggff / vagrant-qemu

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

fix the forwarded ports translation to qemu hostfwd entries #49

Closed rgl closed 1 year ago

rgl commented 1 year 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 1 year ago

Thanks, I will check this soon