From 7ae1e2697eca71b3d618ea1d68fbc0134da77d6a Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Sun, 2 Nov 2025 12:37:52 -0700 Subject: [PATCH] vnet_template: allow setting description in jail --- usr/local/share/bastille/templates/default/vnet/Bastillefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr/local/share/bastille/templates/default/vnet/Bastillefile b/usr/local/share/bastille/templates/default/vnet/Bastillefile index 0c19d6bb..37e28dee 100644 --- a/usr/local/share/bastille/templates/default/vnet/Bastillefile +++ b/usr/local/share/bastille/templates/default/vnet/Bastillefile @@ -1,3 +1,4 @@ +ARG EXT_INTERFACE ARG INTERFACE ARG VNET ARG GATEWAY @@ -7,6 +8,7 @@ ARG IFCONFIG6 SYSRC ifconfig_${INTERFACE}_name=${VNET} SYSRC ifconfig_${VNET}="${IFCONFIG}" +SYSRC ifconfig_${VNET}_descr="${VNET}:${EXT_INTERFACE}" # Apply IFCONFIG6 if set CMD if [ -n "${IFCONFIG6}" ]; then /usr/sbin/sysrc ifconfig_${VNET}_ipv6="${IFCONFIG6}"; fi