From d97e8ae9fbca1ad43aa738b04a8b136f626111ad Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Wed, 18 Jun 2025 16:19:13 +0200 Subject: [PATCH] fixes --- vm/haos-vm.sh | 2 +- vm/mikrotik-routeros.sh | 36 +++++++++++++++++++++++++++++++----- vm/nextcloud-vm.sh | 36 +++++++++++++++++++++++++++++++----- vm/openwrt.sh | 37 ++++++++++++++++++++++++++++++++----- vm/owncloud-vm.sh | 36 +++++++++++++++++++++++++++++++----- vm/pimox-haos-vm.sh | 37 ++++++++++++++++++++++++++++++++----- 6 files changed, 158 insertions(+), 26 deletions(-) diff --git a/vm/haos-vm.sh b/vm/haos-vm.sh index 338b8ea0..8e9e61cc 100644 --- a/vm/haos-vm.sh +++ b/vm/haos-vm.sh @@ -514,7 +514,7 @@ DESCRIPTION=$( Logo -

Umbrel OS VM

+

Homeassistant OS VM

diff --git a/vm/mikrotik-routeros.sh b/vm/mikrotik-routeros.sh index bf1f77c3..cc6e7fdb 100644 --- a/vm/mikrotik-routeros.sh +++ b/vm/mikrotik-routeros.sh @@ -306,13 +306,39 @@ qm create $VMID -tablet 0 -localtime 1 -cores $CORE_COUNT -memory $RAM_SIZE -nam qm importdisk $VMID ${FILE%.*} $STORAGE ${DISK_IMPORT:-} 1>&/dev/null qm set $VMID \ -scsi0 "$DISK_REF" \ - -boot order=scsi0 \ - -description "

+ -boot order=scsi0 >/dev/null - # Mikrotik RouterOS CHR +DESCRIPTION=$( + cat < + + Logo + - -
" >/dev/null +

Mikrotik RouterOS CHR

+ +

+ + spend Coffee + +

+ + + + GitHub + + + + Discussions + + + + Issues + + +EOF +) +qm set "$VMID" -description "$DESCRIPTION" >/dev/null msg_ok "Mikrotik RouterOS CHR VM ${CL}${BL}(${HN})" if [ "$START_VM" == "yes" ]; then msg_info "Starting Mikrotik RouterOS CHR VM" diff --git a/vm/nextcloud-vm.sh b/vm/nextcloud-vm.sh index 1b270393..d6710259 100644 --- a/vm/nextcloud-vm.sh +++ b/vm/nextcloud-vm.sh @@ -441,13 +441,39 @@ qm set $VMID \ -efidisk0 ${DISK0_REF}${FORMAT} \ -scsi0 ${DISK1_REF},${DISK_CACHE}${THIN} \ -scsi1 ${DISK2_REF},${DISK_CACHE}${THIN} \ - -boot order='scsi1;scsi0' \ - -description "
+ -boot order='scsi1;scsi0' >/dev/null +DESCRIPTION=$( + cat < + + Logo + - # $NAME +

Nextcloud VM

+ +

+ + spend Coffee + +

+ + + + GitHub + + + + Discussions + + + + Issues + +
+EOF +) +qm set "$VMID" -description "$DESCRIPTION" >/dev/null - - " >/dev/null msg_ok "Created a $NAME ${CL}${BL}(${HN})" if [ "$START_VM" == "yes" ]; then msg_info "Starting $NAME" diff --git a/vm/openwrt.sh b/vm/openwrt.sh index 6d832e5a..86f6e4e4 100644 --- a/vm/openwrt.sh +++ b/vm/openwrt.sh @@ -507,13 +507,40 @@ qm set $VMID \ -efidisk0 ${DISK0_REF},efitype=4m,size=4M \ -scsi0 ${DISK1_REF},size=512M \ -boot order=scsi0 \ - -tags community-script \ - -description "
+ -tags community-script >/dev/null - # OpenWrt +DESCRIPTION=$( + cat < + + Logo + + +

OpenWRT VM

+ +

+ + spend Coffee + +

+ + + + GitHub + + + + Discussions + + + + Issues + +
+EOF +) +qm set "$VMID" -description "$DESCRIPTION" >/dev/null - - " >/dev/null msg_ok "Created OpenWrt VM ${CL}${BL}(${HN})" msg_info "OpenWrt is being started in order to configure the network interfaces." qm start $VMID diff --git a/vm/owncloud-vm.sh b/vm/owncloud-vm.sh index dcc06fdf..5b6c186e 100644 --- a/vm/owncloud-vm.sh +++ b/vm/owncloud-vm.sh @@ -442,13 +442,39 @@ qm set $VMID \ -efidisk0 ${DISK0_REF}${FORMAT} \ -scsi0 ${DISK1_REF},${DISK_CACHE}${THIN} \ -scsi1 ${DISK2_REF},${DISK_CACHE}${THIN} \ - -boot order='scsi1;scsi0' \ - -description "
+ -boot order='scsi1;scsi0' >/dev/null - # $NAME +DESCRIPTION=$( + cat < + + Logo + - -
" >/dev/null +

Owncloud VM

+ +

+ + spend Coffee + +

+ + + + GitHub + + + + Discussions + + + + Issues + + +EOF +) +qm set "$VMID" -description "$DESCRIPTION" >/dev/null msg_ok "Created a $NAME ${CL}${BL}(${HN})" if [ "$START_VM" == "yes" ]; then msg_info "Starting $NAME" diff --git a/vm/pimox-haos-vm.sh b/vm/pimox-haos-vm.sh index 8613ab98..b925ab44 100644 --- a/vm/pimox-haos-vm.sh +++ b/vm/pimox-haos-vm.sh @@ -341,13 +341,40 @@ qm set $VMID \ -efidisk0 ${DISK0_REF},efitype=4m,size=64M \ -scsi0 ${DISK1_REF},size=32G >/dev/null qm set $VMID \ - -boot order=scsi0 \ - -description "
+ -boot order=scsi0 >/dev/null - # Home Assistant OS +DESCRIPTION=$( + cat < + + Logo + + +

OpenWRT VM

+ +

+ + spend Coffee + +

+ + + + GitHub + + + + Discussions + + + + Issues + +
+EOF +) +qm set "$VMID" -description "$DESCRIPTION" >/dev/null - - " >/dev/null msg_ok "Created HAOS VM ${CL}${BL}(${HN})" if [ "$START_VM" == "yes" ]; then msg_info "Starting Home Assistant OS VM"