Update umbrel-os-vm.sh

This commit is contained in:
CanbiZ 2025-05-26 10:59:19 +02:00
parent 6cb3eae83a
commit 2f379bb440

View File

@ -476,7 +476,7 @@ msg_info "Creating a Umbrel OS VM"
qm create $VMID -agent 1${MACHINE} -tablet 0 -localtime 1 -bios ovmf${CPU_TYPE} -cores $CORE_COUNT -memory $RAM_SIZE \
-name $HN -tags community-script -net0 virtio,bridge=$BRG,macaddr=$MAC$VLAN$MTU -onboot 1 -ostype l26 -scsihw virtio-scsi-pci
pvesm alloc $STORAGE $VMID $DISK0 4M
qm importdisk $VMID ${FILE} $STORAGE ${DISK_IMPORT:-}
qm importdisk $VMID ${FILE_IMG} $STORAGE ${DISK_IMPORT:-}
qm set $VMID \
-efidisk0 ${DISK0_REF}${FORMAT} \
-scsi0 ${DISK1_REF},${DISK_CACHE}${THIN}size=${DISK_SIZE} \