mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 05:20:02 +08:00
Check NET_ADMIN flag
This commit is contained in:
parent
34ec37a00e
commit
7a3712da13
@ -45,7 +45,7 @@ configureDHCP() {
|
||||
echo -n "ERROR: Capability NET_ADMIN has not been set. Please add the "
|
||||
echo "following docker setting to your container: --cap-add NET_ADMIN" && exit 16
|
||||
fi
|
||||
|
||||
|
||||
ip link set "${VM_NET_TAP}" up
|
||||
|
||||
ip a flush "${VM_NET_DEV}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user