From dee101ab08fdfed9d20849388a4475df6eda2e14 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Wed, 12 Mar 2025 12:04:40 +0100 Subject: [PATCH] ip6 remove --- misc/build.func | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/misc/build.func b/misc/build.func index dc72d2942..b128178c9 100644 --- a/misc/build.func +++ b/misc/build.func @@ -1126,8 +1126,7 @@ build_container() { export PCT_OSVERSION="$var_version" export PCT_DISK_SIZE="$DISK_SIZE" export IPv6="$IPv6" - if [[ DISABLEIP6 == "yes" ]]; then - export PCT_OPTIONS=" + export PCT_OPTIONS=" -features $FEATURES -hostname $HN -tags $TAGS @@ -1140,21 +1139,7 @@ build_container() { -unprivileged $CT_TYPE $PW " - elif [[ DISABLEIP6 == "no" ]]; then - export PCT_OPTIONS=" - -features $FEATURES - -hostname $HN - -tags $TAGS - $SD - $NS - -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU,ip6=$IPv6$IPv6GW - -onboot 1 - -cores $CORE_COUNT - -memory $RAM_SIZE - -unprivileged $CT_TYPE - $PW - " - fi + # This executes create_lxc.sh and creates the container and .conf file bash -c "$(wget -qLO - https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/ct/create_lxc.sh)" || exit $?