From 3dcaace1836663d0d0174c216a20cd21625ae657 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Mar 2024 13:24:56 -0500 Subject: [PATCH] Move to ip link instead of vconfig --- templates/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/install.sh b/templates/install.sh index 5ad9322..c21e67a 100755 --- a/templates/install.sh +++ b/templates/install.sh @@ -572,8 +572,8 @@ interactive_config() { 'static') if [[ -n ${vlan_id} ]]; then modprobe 8021q >&2 - vconfig add ${target_interface} ${vlan_id} >&2 vlan_interface=${target_interface}.${vlan_id} + ip link add link ${target_interface} name ${vlan_interface} type vlan id ${vlan_id} >&2 ip link set ${target_interface} up >&2 || true ip link set ${vlan_interface} up >&2 || true ip address add ${target_ipaddr} dev ${vlan_interface} >&2 || true