diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-05-22 11:25:00 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-05-22 11:25:00 -0300 |
commit | e42b295ef928e79cf17fcc39429ded27ea19a84a (patch) | |
tree | 22663980d4de6aa964fb7fbde48fe8fa29899a6c | |
parent | 515f71c62b767a543f0ab597be76b08203b91e6b (diff) | |
download | kvmx-e42b295ef928e79cf17fcc39429ded27ea19a84a.tar.gz kvmx-e42b295ef928e79cf17fcc39429ded27ea19a84a.tar.bz2 |
Fix: missing netdev option for newer qemu versions
-rwxr-xr-x | kvmx | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -468,7 +468,7 @@ function kvmx_up { #net_opts="user,hostfwd=tcp:127.0.0.1:$SSH-:22,hostfwd=udp:127.0.0.1:$XDMCP_PORT-:177$hostfwd -net nic,model=$nic_model" net_opts="user,hostfwd=tcp:127.0.0.1:$SSH-:22$hostfwd -net nic,model=$nic_model" else - net_opts="user,id=net0,hostfwd=tcp:127.0.0.1:$SSH-:22$hostfwd -net nic,model=$nic_model" + net_opts="user,id=net0,hostfwd=tcp:127.0.0.1:$SSH-:22$hostfwd -net nic,netdev=net0,model=$nic_model" fi elif [ "$net" == "tap" ]; then # Thanks to kvm-manager |