Allow multiple macvtap-VMs to use the same MAC address
This commit is contained in:
parent
6e119e0129
commit
84865291e0
1 changed files with 1 additions and 0 deletions
|
@ -267,6 +267,7 @@ while true; do
|
||||||
type="ethernet,mac=${mac},target.dev=${interface},xpath1.set=./target/@managed=no,model.type=virtio"
|
type="ethernet,mac=${mac},target.dev=${interface},xpath1.set=./target/@managed=no,model.type=virtio"
|
||||||
LIBVIRTOPTS="${LIBVIRTOPTS} --network type=$type"
|
LIBVIRTOPTS="${LIBVIRTOPTS} --network type=$type"
|
||||||
done
|
done
|
||||||
|
LIBVIRTOPTS="${LIBVIRTOPTS} --check mac_in_use=off"
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
--os )
|
--os )
|
||||||
|
|
Loading…
Add table
Reference in a new issue