Update haos-vm-v4.sh

clean
This commit is contained in:
tteckster 2022-11-24 15:08:10 -05:00 committed by GitHub
parent 0d2bb7ac3a
commit d56341fe5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -278,10 +278,9 @@ pvesm alloc $STORAGE $VMID $DISK0 4M 1>&/dev/null
qm importdisk $VMID ${FILE%.*} $STORAGE ${DISK_IMPORT:-} 1>&/dev/null qm importdisk $VMID ${FILE%.*} $STORAGE ${DISK_IMPORT:-} 1>&/dev/null
qm set $VMID \ qm set $VMID \
-efidisk0 ${DISK0_REF}${FORMAT} \ -efidisk0 ${DISK0_REF}${FORMAT} \
-scsi0 ${DISK1_REF},discard=on,size=32G,ssd=1 >/dev/null -scsi0 ${DISK1_REF},discard=on,size=32G,ssd=1 \
qm set $VMID \ -boot order=scsi0 \
-boot order=scsi0 >/dev/null -description "# Home Assistant OS
qm set $VMID -description "# Home Assistant OS
### https://github.com/tteck/Proxmox ### https://github.com/tteck/Proxmox
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/D1D7EP4GF)" >/dev/null [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/D1D7EP4GF)" >/dev/null
msg_ok "Created HAOS VM ${CL}${BL}(${HN})" msg_ok "Created HAOS VM ${CL}${BL}(${HN})"