mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 10:22:50 +00:00 
			
		
		
		
	Update build.func
tweak
This commit is contained in:
		@@ -123,6 +123,7 @@ ssh_check() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# This function displays the default values for various settings.
 | 
					# This function displays the default values for various settings.
 | 
				
			||||||
echo_default() {
 | 
					echo_default() {
 | 
				
			||||||
 | 
					  APT_CACHER=""
 | 
				
			||||||
  echo -e "${DGN}Using Distribution: ${BGN}$var_os${CL}"
 | 
					  echo -e "${DGN}Using Distribution: ${BGN}$var_os${CL}"
 | 
				
			||||||
  echo -e "${DGN}Using $var_os Version: ${BGN}$var_version${CL}"
 | 
					  echo -e "${DGN}Using $var_os Version: ${BGN}$var_version${CL}"
 | 
				
			||||||
  echo -e "${DGN}Using Container Type: ${BGN}$CT_TYPE${CL}"
 | 
					  echo -e "${DGN}Using Container Type: ${BGN}$CT_TYPE${CL}"
 | 
				
			||||||
@@ -511,8 +512,10 @@ build_container() {
 | 
				
			|||||||
  else
 | 
					  else
 | 
				
			||||||
    export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/install.func)"
 | 
					    export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/install.func)"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 | 
					  if [ "$APT_CACHER" == "yes" ]; then
 | 
				
			||||||
  export CACHER="$APT_CACHER"
 | 
					  export CACHER="$APT_CACHER"
 | 
				
			||||||
  export CACHER_IP="$APT_CACHER_IP"
 | 
					  export CACHER_IP="$APT_CACHER_IP"
 | 
				
			||||||
 | 
					  fi
 | 
				
			||||||
  export tz="$timezone"
 | 
					  export tz="$timezone"
 | 
				
			||||||
  export DISABLEIPV6="$DISABLEIP6"
 | 
					  export DISABLEIPV6="$DISABLEIP6"
 | 
				
			||||||
  export APPLICATION="$APP"
 | 
					  export APPLICATION="$APP"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user