mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 02:12:49 +00:00 
			
		
		
		
	Update build.func
tweak
This commit is contained in:
		@@ -340,11 +340,13 @@ advanced_settings() {
 | 
				
			|||||||
    echo -e "${DGN}Using Gateway IP Address: ${BGN}Default${CL}"
 | 
					    echo -e "${DGN}Using Gateway IP Address: ${BGN}Default${CL}"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if APT_CACHER_IP=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "Set APT-Cacher IP (leave blank for default)" 8 58 --title "APT-Cacher IP" 3>&1 1>&2 2>&3); then
 | 
					  if [ "$var_os" != "alpine" ]; then
 | 
				
			||||||
    APT_CACHER="${APT_CACHER_IP:+yes}"
 | 
					    if APT_CACHER_IP=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "Set APT-Cacher IP (leave blank for default)" 8 58 --title "APT-Cacher IP" 3>&1 1>&2 2>&3); then
 | 
				
			||||||
    echo -e "${DGN}Using APT-Cacher IP Address: ${BGN}${APT_CACHER_IP:-Default}${CL}"
 | 
					      APT_CACHER="${APT_CACHER_IP:+yes}"
 | 
				
			||||||
  else
 | 
					      echo -e "${DGN}Using APT-Cacher IP Address: ${BGN}${APT_CACHER_IP:-Default}${CL}"
 | 
				
			||||||
    exit-script
 | 
					    else
 | 
				
			||||||
 | 
					      exit-script
 | 
				
			||||||
 | 
					    fi
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if (whiptail --backtitle "Proxmox VE Helper Scripts" --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then
 | 
					  if (whiptail --backtitle "Proxmox VE Helper Scripts" --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user