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

This commit is contained in:
Kroese 2024-06-14 04:35:40 +02:00 committed by GitHub
parent 0dbc794223
commit fb5f684e7e
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
}