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