mirror of https://github.com/tteck/Proxmox.git
				
				
				
			check for wget
This commit is contained in:
		
							parent
							
								
									ef8238332a
								
							
						
					
					
						commit
						7a788da1de
					
				| 
						 | 
					@ -239,6 +239,7 @@ fi
 | 
				
			||||||
msg_ok "Using ${CL}${BL}$STORAGE${CL} ${GN}for Storage Location."
 | 
					msg_ok "Using ${CL}${BL}$STORAGE${CL} ${GN}for Storage Location."
 | 
				
			||||||
msg_ok "Virtual Machine ID is ${CL}${BL}$VMID${CL}."
 | 
					msg_ok "Virtual Machine ID is ${CL}${BL}$VMID${CL}."
 | 
				
			||||||
msg_info "Getting URL for Home Assistant ${BRANCH} Disk Image"
 | 
					msg_info "Getting URL for Home Assistant ${BRANCH} Disk Image"
 | 
				
			||||||
 | 
					if ! command -v wget >/dev/null 2>&1; then apt-get install -y wget &>/dev/null; fi
 | 
				
			||||||
if [ "$BRANCH" == "$DEV" ]; then 
 | 
					if [ "$BRANCH" == "$DEV" ]; then 
 | 
				
			||||||
URL=https://os-builds.home-assistant.io/${BRANCH}/haos_ova-${BRANCH}.qcow2.xz
 | 
					URL=https://os-builds.home-assistant.io/${BRANCH}/haos_ova-${BRANCH}.qcow2.xz
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue