mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-05 00:54:09 -04:00
Remove default VLAN for LAN (#10782)
This commit is contained in:
committed by
GitHub
parent
648829f51e
commit
fb1d508182
@@ -277,7 +277,7 @@ function default_settings() {
|
|||||||
MAC=$GEN_MAC
|
MAC=$GEN_MAC
|
||||||
LAN_MAC=$GEN_MAC_LAN
|
LAN_MAC=$GEN_MAC_LAN
|
||||||
VLAN=""
|
VLAN=""
|
||||||
LAN_VLAN=",tag=999"
|
LAN_VLAN=""
|
||||||
LAN_IP_ADDR="192.168.1.1"
|
LAN_IP_ADDR="192.168.1.1"
|
||||||
LAN_NETMASK="255.255.255.0"
|
LAN_NETMASK="255.255.255.0"
|
||||||
MTU=""
|
MTU=""
|
||||||
@@ -427,8 +427,8 @@ function advanced_settings() {
|
|||||||
|
|
||||||
if VLAN2=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "Set a LAN Vlan" 8 58 999 --title "LAN VLAN" --cancel-button Exit-Script 3>&1 1>&2 2>&3); then
|
if VLAN2=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "Set a LAN Vlan" 8 58 999 --title "LAN VLAN" --cancel-button Exit-Script 3>&1 1>&2 2>&3); then
|
||||||
if [ -z $VLAN2 ]; then
|
if [ -z $VLAN2 ]; then
|
||||||
VLAN2="999"
|
VLAN2="Default"
|
||||||
LAN_VLAN=",tag=$VLAN2"
|
LAN_VLAN=""
|
||||||
else
|
else
|
||||||
LAN_VLAN=",tag=$VLAN2"
|
LAN_VLAN=",tag=$VLAN2"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user