mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Update haos-vm-v4.sh
This commit is contained in:
		
							parent
							
								
									e6b4af33ef
								
							
						
					
					
						commit
						d7eafbed46
					
				| 
						 | 
					@ -95,7 +95,7 @@ function default_settings() {
 | 
				
			||||||
	MAC=$GEN_MAC
 | 
						MAC=$GEN_MAC
 | 
				
			||||||
	echo -e "${DGN}Using VLAN: ${BGN}Default${CL}"
 | 
						echo -e "${DGN}Using VLAN: ${BGN}Default${CL}"
 | 
				
			||||||
	VLAN=""
 | 
						VLAN=""
 | 
				
			||||||
	echo -e "${DGN}Start VM when completed ${BGN}yes${CL}"
 | 
						echo -e "${DGN}Start VM when completed: ${BGN}yes${CL}"
 | 
				
			||||||
	START_VM="yes"
 | 
						START_VM="yes"
 | 
				
			||||||
	echo -e "${BL}Creating a HAOS VM using the above default settings${CL}"
 | 
						echo -e "${BL}Creating a HAOS VM using the above default settings${CL}"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -165,10 +165,10 @@ else
 | 
				
			||||||
  fi  
 | 
					  fi  
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
if (whiptail --title "START VIRTUAL MACHINE" --yesno "Start VM when completed?" 10 58); then
 | 
					if (whiptail --title "START VIRTUAL MACHINE" --yesno "Start VM when completed?" 10 58); then
 | 
				
			||||||
    echo -e "${DGN}Starting VM when completed${CL}"
 | 
					    echo -e "${DGN}Start VM when completed: ${BGN}yes${CL}"
 | 
				
			||||||
    START_VM="yes"
 | 
					    START_VM="yes"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
    echo -e "${DGN}Do not start VM when completed${CL}"
 | 
					    echo -e "${DGN}Start VM when completed: ${BGN}no${CL}"
 | 
				
			||||||
    START_VM="no"
 | 
					    START_VM="no"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create HAOS ${BRANCH} VM?" 10 58); then
 | 
					if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create HAOS ${BRANCH} VM?" 10 58); then
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue