Update haos-vm-v4.sh

This commit is contained in:
tteckster 2022-07-31 23:48:50 -04:00 committed by GitHub
parent 40fdd09c47
commit f9a0540dec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -173,9 +173,10 @@ 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
echo -e "${RD}Creating a HAOS VM using the above advanced settings${CL}" echo -e "${RD}Creating a HAOS VM using the above advanced settings${CL}"
else else
clear clear
echo "Going Back to Advanced Settings" header_info
advanced_settings echo -e "${RD}Using Advanced Settings${CL}"
advanced_settings
fi fi
} }
function start_script() { function start_script() {
@ -260,7 +261,7 @@ qm set $VMID \
-boot order=scsi0 >/dev/null -boot order=scsi0 >/dev/null
qm set $VMID -description "# Home Assistant OS qm set $VMID -description "# Home Assistant OS
### https://github.com/tteck/Proxmox" >/dev/null ### https://github.com/tteck/Proxmox" >/dev/null
msg_ok "Created HAOS VM ${CL}${BL}${HN}" msg_ok "Created HAOS VM ${CL}${BL}(${HN})"
if [ "$START_VM" == "yes" ]; then if [ "$START_VM" == "yes" ]; then
msg_info "Starting Home Assistant OS VM" msg_info "Starting Home Assistant OS VM"
qm start $VMID qm start $VMID