mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Compare commits
	
		
			No commits in common. "d0311a3f1bef1ce5704adf65b4bf936798f0af22" and "9bfbb57f110654decfb56ad187ed4bcd1e630516" have entirely different histories.
		
	
	
		
			d0311a3f1b
			...
			9bfbb57f11
		
	
		| 
						 | 
				
			
			@ -344,22 +344,6 @@ else
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function install_script() {
 | 
			
		||||
ARCH_CHECK
 | 
			
		||||
PVE_CHECK
 | 
			
		||||
NEXTID=$(pvesh get /cluster/nextid)
 | 
			
		||||
header_info
 | 
			
		||||
  if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
 | 
			
		||||
    header_info
 | 
			
		||||
    echo -e "${BL}Using Default Settings${CL}"
 | 
			
		||||
    default_settings
 | 
			
		||||
  else
 | 
			
		||||
    header_info
 | 
			
		||||
    echo -e "${RD}Using Advanced Settings${CL}"
 | 
			
		||||
    advanced_settings
 | 
			
		||||
  fi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function update_script() {
 | 
			
		||||
header_info
 | 
			
		||||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -47,9 +47,6 @@ function msg_error() {
 | 
			
		|||
msg_info "Setting up Container OS "
 | 
			
		||||
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
 | 
			
		||||
locale-gen >/dev/null
 | 
			
		||||
LANG=$(grep -v '^#' /etc/locale.gen | grep -o '^[^ ]*')
 | 
			
		||||
update-locale LANG=$LANG
 | 
			
		||||
echo "export LANG=$LANG" >> ~/.bashrc
 | 
			
		||||
echo $tz > /etc/timezone
 | 
			
		||||
ln -sf /usr/share/zoneinfo/$tz /etc/localtime
 | 
			
		||||
for ((i=RETRY_NUM; i>0; i--)); do
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue