Compare commits

..

1 Commits

Author SHA1 Message Date
MickLesk
2b7ebcf9ab Boot TrueNAS from its disk, not from the installer ISO
qm create was called without a boot order, so Proxmox fell back to its
default and put the CD-ROM first. The install completes, the VM reboots,
and the installer comes up again.

sata0 first, ide2 behind it: an empty disk still falls through to the ISO
for the initial install, and every boot after that finds the system. This
was the only vm/ script with no boot order and the only one using -cdrom.
2026-09-15 10:12:48 +02:00
3 changed files with 4 additions and 5 deletions

View File

@@ -44,8 +44,7 @@ function update_script() {
msg_ok "Stopped Service"
CLEAN_INSTALL=1 GITLAB_URL="https://gitlab.torproject.org" fetch_and_deploy_gl_release "tor-snowflake" "tpo/anti-censorship/pluggable-transports/snowflake" "tarball"
GO_VERSION="$(awk '/^go /{print $2; exit}' /opt/tor-snowflake/go.mod 2>/dev/null || true)"
GO_VERSION="${GO_VERSION:-latest}" setup_go
GO_VERSION="$(grep -m1 '^go ' /opt/tor-snowflake/proxy/go.mod | awk '{print $2}')" setup_go
msg_info "Building Snowflake"
cd /opt/tor-snowflake/proxy

View File

@@ -16,8 +16,7 @@ update_os
msg_info "Building Snowflake"
GITLAB_URL="https://gitlab.torproject.org" fetch_and_deploy_gl_release "tor-snowflake" "tpo/anti-censorship/pluggable-transports/snowflake" "tarball"
GO_VERSION="$(awk '/^go /{print $2; exit}' /opt/tor-snowflake/go.mod 2>/dev/null || true)"
GO_VERSION="${GO_VERSION:-latest}" setup_go
GO_VERSION="$(grep -m1 '^go ' /opt/tor-snowflake/proxy/go.mod | awk '{print $2}')" setup_go
cd /opt/tor-snowflake/proxy
$STD go build -o snowflake-proxy .
msg_ok "Built Snowflake Proxy"

View File

@@ -578,7 +578,8 @@ qm create "$VMID" -machine q35 -bios ovmf -agent enabled=1 -tablet 0 -localtime
-cores "$CORE_COUNT" -memory "$RAM_SIZE" -balloon 0 -name "$HN" -tags community-script \
-net0 "virtio,bridge=$BRG,macaddr=$MAC$VLAN$MTU" -onboot 1 -ostype l26 \
-efidisk0 $STORAGE:1,efitype=4m,pre-enrolled-keys=0 -sata0 $STORAGE:$DISK_SIZE,ssd=1 \
-scsihw virtio-scsi-single -cdrom local:iso/$ISO_NAME -vga virtio >/dev/null
-scsihw virtio-scsi-single -cdrom local:iso/$ISO_NAME -vga virtio \
-boot order='sata0;ide2' >/dev/null
msg_ok "Created VM shell"
if [ "$IMPORT_DISKS" == "yes" ]; then