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

View file

@ -174,7 +174,8 @@ if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create HAOS
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
echo -e "${RD}Using Advanced Settings${CL}"
advanced_settings advanced_settings
fi fi
} }
@ -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