Update haos_vm.sh

This commit is contained in:
tteckster 2022-05-21 18:02:01 -04:00 committed by GitHub
parent 35c74484d9
commit 26d922f837
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -328,6 +328,8 @@ qm set $VMID \
-scsi0 ${DISK1_REF},size=32G >/dev/null -scsi0 ${DISK1_REF},size=32G >/dev/null
qm set $VMID \ qm set $VMID \
-boot order=scsi0 >/dev/null -boot order=scsi0 >/dev/null
msg_ok "Created HAOS VM ${CL}${BL}${VM_NAME}"
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