fix: Don't set script with file descriptor (#125)

This commit is contained in:
Kroese 2024-06-14 04:42:33 +02:00 committed by GitHub
parent 1e851b3c82
commit 36dac0f0bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -74,7 +74,7 @@ configureDHCP() {
error "VHOST can not be found ($rc). $ADD_ERR --device=/dev/vhost-net" && return 1
fi
NET_OPTS="-netdev tap,id=hostnet0,vhost=on,vhostfd=40,fd=30,script=no,downscript=no"
NET_OPTS="-netdev tap,id=hostnet0,vhost=on,vhostfd=40,fd=30"
return 0
}