build.func

This commit is contained in:
Michel Roegl-Brunner 2025-03-11 16:20:13 +01:00
parent 97c453c03d
commit d9e1010f13

View File

@ -721,6 +721,7 @@ advanced_settings() {
if IP6GW=$(whiptail --backtitle "[dev] Proxmox VE Helper Scripts" --inputbox "Enter IPv6 Gateway" 8 58 --title "IPv6 Gateway" 3>&1 1>&2 2>&3); then if IP6GW=$(whiptail --backtitle "[dev] Proxmox VE Helper Scripts" --inputbox "Enter IPv6 Gateway" 8 58 --title "IPv6 Gateway" 3>&1 1>&2 2>&3); then
if [ -z $IP6GW ]; then if [ -z $IP6GW ]; then
IP6GW="Default" IP6GW="Default"
IPv6GW=""
echo -e "${GATEWAY}${BOLD}${DGN}IPv6 Gateway: ${BGN}$IP6GW${CL}" echo -e "${GATEWAY}${BOLD}${DGN}IPv6 Gateway: ${BGN}$IP6GW${CL}"
else else
IPv6GW=",gw6=$IP6GW" IPv6GW=",gw6=$IP6GW"
@ -1137,7 +1138,7 @@ build_container() {
-unprivileged $CT_TYPE -unprivileged $CT_TYPE
$PW $PW
" "
else elif [[ DISABLEIP6 == "no" ]]; then
export PCT_OPTIONS=" export PCT_OPTIONS="
-features $FEATURES -features $FEATURES
-hostname $HN -hostname $HN