mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
NET_OPTS
This commit is contained in:
parent
9274bfa2ca
commit
02094b4426
@ -221,13 +221,14 @@ configureNetworks () {
|
||||
|
||||
deviceID=($(setupBridge $iface "macvlan"))
|
||||
bridgeName="macvlan$deviceID"
|
||||
log "DEBUG" "bridgeName: $bridgeName"
|
||||
|
||||
# kvm configuration:
|
||||
let fd=$i+3
|
||||
NET_OPTS="$NET_OPTS -netdev tap,id=net$i,vhost=on,fd=$fd ${fd}<>/dev/macvtap$deviceID"
|
||||
|
||||
setupDhcp
|
||||
log "DEBUG" "bridgeName: $bridgeName"
|
||||
NET_OPTS="-netdev tap,id=net$i,vhost=on,fd=$fd ${fd}<>/dev/macvtap$deviceID"
|
||||
NET_OPTS="-device virtio-net-pci,netdev=net$i,mac=$MAC $NET_OPTS"
|
||||
|
||||
let i++
|
||||
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user