From 619b0d7f2b64c0a931549bb987dafae5fa0fcfc6 Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 29 Apr 2024 23:51:15 +0200 Subject: [PATCH] feat: Improved networking --- src/network.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/network.sh b/src/network.sh index a5ef56b..7effb2f 100644 --- a/src/network.sh +++ b/src/network.sh @@ -36,8 +36,8 @@ configureDHCP() { { ip link add link "$VM_NET_DEV" name "$VM_NET_TAP" address "$VM_NET_MAC" type macvtap mode bridge ; rc=$?; } || : if (( rc != 0 )); then - error "Cannot create macvtap interface. Please make sure the network type is 'macvlan' and not 'ipvlan'," - error "that your kernel is recent (>4), and that the NET_ADMIN capability has been added to the container." && exit 16 + error "Cannot create macvtap interface. Please make sure that the network type is 'macvlan' and not 'ipvlan'," + error "that your kernel is recent (>4) and supports it, and that the container has the NET_ADMIN capability set." && exit 16 fi while ! ip link set "$VM_NET_TAP" up; do