Skip to content

Commit 5334c65

Browse files
committed
fixes
1 parent 5a70e3c commit 5334c65

2 files changed

Lines changed: 1 addition & 242 deletions

File tree

‎vm/mikrotik-routeros.sh‎

Lines changed: 0 additions & 238 deletions
This file was deleted.

‎vm/zimaos-vm.sh‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,21 +114,18 @@ msg_ok "ZimaOS ${CL}${BL}${ZIMAOS_VERSION}${CL}"
114114
# this is really an ISO, not curl's exit code.
115115
MIN_ISO_BYTES=$((1024 * 1024 * 1024))
116116

117-
msg_info "Downloading ZimaOS installer (approximately 2 GB, this may take a while)"
117+
msg_warn "Downloading ZimaOS installer (approximately 2 GB, this may take a while)"
118118
vm_fetch_image "$URL" "$CACHE_FILE" --cache --min-bytes "$MIN_ISO_BYTES" || exit 115
119119

120120
msg_info "Creating a ZimaOS VM"
121-
122121
# ZimaOS needs UEFI with Secure Boot off. pre-enrolled-keys=0 does that here,
123122
# which saves the manual trip through the OVMF device manager that the upstream
124123
# Proxmox guide describes. VirtIO SCSI single is what IceWhale documents.
125124
qm create $VMID -agent 1${MACHINE} -tablet 0 -localtime 1 -bios ovmf${CPU_TYPE} -cores $CORE_COUNT -memory $RAM_SIZE \
126125
-name $HN -tags community-script -net0 virtio,bridge=$BRG,macaddr=$MAC$VLAN$MTU -onboot 1 -ostype l26 -scsihw virtio-scsi-single \
127126
-efidisk0 ${STORAGE}:1,efitype=4m,pre-enrolled-keys=0 -scsi0 ${STORAGE}:${DISK_SIZE%G},${DISK_CACHE}${THIN%,} \
128127
-cdrom "$ISO_VOLUME" -boot order='scsi0;ide2' -vga std -serial0 socket >/dev/null
129-
130128
set_description
131-
132129
msg_ok "Created a ZimaOS VM ${CL}${BL}(${HN})"
133130

134131
if [ "$START_VM" == "yes" ]; then

0 commit comments

Comments
 (0)