Stop dhclient before booting VM

This commit is contained in:
Kroese 2023-05-03 07:20:29 +02:00 committed by GitHub
parent 80d202d888
commit aab89a38d5

View File

@ -105,6 +105,8 @@ configureDHCP() {
echo "docker setting to your container: --device=/dev/vhost-net" && exit 22
fi
pkill -f dhclient || true
NET_OPTS="-netdev tap,id=hostnet0,vhost=on,vhostfd=40,fd=30"
}