mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-06-09 01:47:32 +08:00
Stop dhclient before booting VM
This commit is contained in:
parent
80d202d888
commit
aab89a38d5
@ -105,6 +105,8 @@ configureDHCP() {
|
|||||||
echo "docker setting to your container: --device=/dev/vhost-net" && exit 22
|
echo "docker setting to your container: --device=/dev/vhost-net" && exit 22
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
pkill -f dhclient || true
|
||||||
|
|
||||||
NET_OPTS="-netdev tap,id=hostnet0,vhost=on,vhostfd=40,fd=30"
|
NET_OPTS="-netdev tap,id=hostnet0,vhost=on,vhostfd=40,fd=30"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user