mirror of https://github.com/tteck/Proxmox.git
				
				
				
			
							parent
							
								
									24551de292
								
							
						
					
					
						commit
						9d7372b679
					
				| 
						 | 
					@ -150,7 +150,7 @@ function default_settings() {
 | 
				
			||||||
  echo -e "${DGN}Using HAOS Version: ${BGN}${BRANCH}${CL}"
 | 
					  echo -e "${DGN}Using HAOS Version: ${BGN}${BRANCH}${CL}"
 | 
				
			||||||
  echo -e "${DGN}Using Virtual Machine ID: ${BGN}${VMID}${CL}"
 | 
					  echo -e "${DGN}Using Virtual Machine ID: ${BGN}${VMID}${CL}"
 | 
				
			||||||
  echo -e "${DGN}Using Machine Type: ${BGN}i440fx${CL}"
 | 
					  echo -e "${DGN}Using Machine Type: ${BGN}i440fx${CL}"
 | 
				
			||||||
  echo -e "${DGN}Using Disk Cache: ${BGN}Writethrough${CL}"
 | 
					  echo -e "${DGN}Using Disk Cache: ${BGN}Write Through${CL}"
 | 
				
			||||||
  echo -e "${DGN}Using Hostname: ${BGN}${HN}${CL}"
 | 
					  echo -e "${DGN}Using Hostname: ${BGN}${HN}${CL}"
 | 
				
			||||||
  echo -e "${DGN}Using CPU Model: ${BGN}Host${CL}"
 | 
					  echo -e "${DGN}Using CPU Model: ${BGN}Host${CL}"
 | 
				
			||||||
  echo -e "${DGN}Allocated Cores: ${BGN}${CORE_COUNT}${CL}"
 | 
					  echo -e "${DGN}Allocated Cores: ${BGN}${CORE_COUNT}${CL}"
 | 
				
			||||||
| 
						 | 
					@ -209,14 +209,14 @@ function advanced_settings() {
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if DISK_CACHE1=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "DISK CACHE" --radiolist "Choose" --cancel-button Exit-Script 10 58 2 \
 | 
					  if DISK_CACHE1=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "DISK CACHE" --radiolist "Choose" --cancel-button Exit-Script 10 58 2 \
 | 
				
			||||||
    "0" "Default" ON \
 | 
					    "0" "None" OFF \
 | 
				
			||||||
    "1" "Write Through" OFF \
 | 
					    "1" "Write Through (Default)" ON \
 | 
				
			||||||
    3>&1 1>&2 2>&3); then
 | 
					    3>&1 1>&2 2>&3); then
 | 
				
			||||||
    if [ $DISK_CACHE1 = "1" ]; then
 | 
					    if [ $DISK_CACHE1 = "1" ]; then
 | 
				
			||||||
      echo -e "${DGN}Using Disk Cache: ${BGN}Write Through${CL}"
 | 
					      echo -e "${DGN}Using Disk Cache: ${BGN}Write Through${CL}"
 | 
				
			||||||
      DISK_CACHE="cache=writethrough,"
 | 
					      DISK_CACHE="cache=writethrough,"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e "${DGN}Using Disk Cache: ${BGN}Default${CL}"
 | 
					      echo -e "${DGN}Using Disk Cache: ${BGN}None${CL}"
 | 
				
			||||||
      DISK_CACHE=""
 | 
					      DISK_CACHE=""
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
  else
 | 
					  else
 | 
				
			||||||
| 
						 | 
					@ -236,14 +236,14 @@ function advanced_settings() {
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if CPU_TYPE1=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "CPU MODEL" --radiolist "Choose" --cancel-button Exit-Script 10 58 2 \
 | 
					  if CPU_TYPE1=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "CPU MODEL" --radiolist "Choose" --cancel-button Exit-Script 10 58 2 \
 | 
				
			||||||
    "0" "KVM64 (Default)" ON \
 | 
					    "0" "KVM64" OFF \
 | 
				
			||||||
    "1" "Host" OFF \
 | 
					    "1" "Host (Default)" ON \
 | 
				
			||||||
    3>&1 1>&2 2>&3); then
 | 
					    3>&1 1>&2 2>&3); then
 | 
				
			||||||
    if [ $CPU_TYPE1 = "1" ]; then
 | 
					    if [ $CPU_TYPE1 = "1" ]; then
 | 
				
			||||||
      echo -e "${DGN}Using CPU Model: ${BGN}Host${CL}"
 | 
					      echo -e "${DGN}Using CPU Model: ${BGN}Host${CL}"
 | 
				
			||||||
      CPU_TYPE=" -cpu host"
 | 
					      CPU_TYPE=" -cpu host"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e "${DGN}Using CPU Model: ${BGN}Default${CL}"
 | 
					      echo -e "${DGN}Using CPU Model: ${BGN}KVM64${CL}"
 | 
				
			||||||
      CPU_TYPE=""
 | 
					      CPU_TYPE=""
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
  else
 | 
					  else
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue