Commit Graph

438 Commits

Author SHA1 Message Date
CanbiZ (MickLesk) 0973d1ccfb OpenWrt VM: read the stable release from downloads.openwrt.org (#18411)
* OpenWrt VM: read the stable release from downloads.openwrt.org

The version came from a line of text on the openwrt.org wiki front page.
One host got that page without the line three times in a row while
others resolved fine at the same moment, and the run ended with exit 115
before anything was downloaded. .versions.json on the download server
is what the OpenWrt firmware selector reads and names the stable release
explicitly.

* Update vm/openwrt-vm.sh

Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>

---------

Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
2026-11-03 14:31:32 +01:00
CanbiZ (MickLesk) f9039c2ee7 Fedora VM: let the engine install libguestfs-tools (#18422)
The script ran its own apt-get update before installing
libguestfs-tools, so one broken or stale repository on the host (a 404
for a hand-added proxmox.com or debian.org entry) ended the run with
exit 100. vm_prepare_cloud_image installs the tools itself and carries
on when an update fails, so the install can still succeed from the
repositories that did update.
2026-11-03 14:26:21 +01:00
CanbiZ (MickLesk) 92737744ce AlmaLinux VM: report failures through the engine's error handler (#18418)
The script replaced the engine's error_handler with one that sent the
failed command as the exit code, so every failure reached telemetry as
exit 199 "exit code not reported", without the failed command or
category. Its signal traps sent words instead of codes the same way.

It also ran its own unguarded apt-get update for libguestfs-tools, so a
host with the enterprise repository and no subscription (401) stopped
there. vm_prepare_cloud_image installs the tools itself, tolerating a
repository that fails to update.
2026-11-03 14:23:03 +01:00
push-app-to-main[bot] d3abb64d4d Add cachyos-vm (vm) (#18368)
Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
2026-11-01 21:20:14 +01:00
CanbiZ (MickLesk) 694f899575 Debian VM: keep a static IP without a snippets storage (#18346)
The MAC-matched network snippet is a workaround for Ubuntu 26.04's NIC rename. Without a storage for snippets the run failed after the VM was built; Debian now keeps the static ipconfig0 Proxmox already set, as it did before September.
2026-10-31 22:29:45 +01:00
CanbiZ (MickLesk) bcb72dc9b8 Ubuntu VM: check for a snippets storage before building a static-IP VM (#18347)
Ubuntu 26.04 needs the MAC-matched network snippet, and without a storage for snippets the run failed only after the VM was created. It now stops before downloading the image.
2026-10-31 22:13:45 +01:00
CanbiZ (MickLesk) f4388eacb3 Docker VM: take the imported disk from vm_import_disk (#18341)
Same parser as haos-vm: PVE 9.2's import message and the pvesm fallback both missed the new volume.
2026-10-31 21:51:31 +01:00
CanbiZ (MickLesk) 507d70ad57 HAOS VM: take the imported disk from vm_import_disk (#18342)
PVE 9.2 reports the import as 'Successfully imported disk as unused0:...', which the local parser missed, and its pvesm fallback matched the VMID column, so imports on local-zfs ended in 'Unable to determine imported disk reference'.
2026-10-31 21:44:33 +01:00
CanbiZ (MickLesk) d4fac83a8a Refactor: ownCloud VM (#18295)
Updated ownCloud VM script to version 19.0 and modified various settings and functions for improved functionality.
2026-10-28 15:37:35 +01:00
Tlyx 7ee5bf33bf fix(vm/opnsense): increase startup wait from 90 to 180 seconds (#18086)
* fix(vm/opnsense): increase startup wait from 90 to 180 seconds

* Remove error redirection from bridge interface setup

Should fix : 
  ⠴   Bridge interfaces are being added.update VM 101: -net0 virtio,bridge=vmbr1,macaddr=XX:XX:XX:XX:XX:XX,firewall=0,queues=4
  ⠙   Bridge interfaces are being added.update VM 101: -net1 virtio,bridge=vmbr0,macaddr=XX:XX:XX:XX:XX:XX,firewall=0,queues=4
  ✔️   Bridge interfaces have been successfully added.
2026-10-28 13:49:40 +01:00
CanbiZ (MickLesk) 7d5857f1b9 VMs: pass the machine type, CPU, disk cache and discard settings to qm (#18232)
MikroTik RouterOS asked for machine type, CPU model and disk cache and used none of them, nor its discard/ssd flags. HAOS and TrueNAS dropped the chosen disk cache, UniFi OS Server the discard/ssd flags. Fixes #18211
2026-10-26 11:13:59 +01:00
CanbiZ (MickLesk) 41b51b121d Refactor: pimox-haos-vm (#18077)
Updated copyright information and improved script structure. Added error handling and enhanced variable management.
2026-10-23 13:56:31 +02:00
CanbiZ (MickLesk) b087c0bbc3 Refactor: OPNsense VM (#17785) 2026-10-08 15:09:45 +02:00
CanbiZ (MickLesk) 2f8e318528 Refactor: Nextcloud VM (Turnkey) (#17787)
Updated authorship and improved script structure. Adjusted default settings and enhanced user prompts for creating a Nextcloud VM.
2026-10-08 15:09:33 +02:00
CanbiZ (MickLesk) f09085f553 Refactor: OpenWrt VM (#17774)
* Refactor: OpenWrt VM

* Refactor comments in openwrt-vm.sh

Removed redundant author line and cleaned up comments.
2026-10-08 15:06:00 +02:00
push-app-to-main[bot] 6be105b961 Unifi-OS-Server VM (#17752)
* Add unifi-os-server-vm (vm)

* Refactor UniFi OS Server VM setup script

Updated the script to set default OS and version, improved error handling, and modified the first-boot installer process.

---------

Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com>
2026-10-08 13:49:27 +02:00
CanbiZ (MickLesk) 0de4640699 Refactor: Ubuntu VM (#17776)
* Refactor: Ubuntu VM

Updated licensing information and improved error handling. Refactored OS selection logic and cloud-init prompts.

* Update license URL in ubuntu-vm.sh
2026-10-08 11:49:54 +02:00
push-app-to-main[bot] a2474baaf1 Add zimaos-vm (vm) (#17778)
Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
2026-10-08 11:25:15 +02:00
CanbiZ (MickLesk) 5af976eb97 Refactor: Archlinux-VM (#17741)
* Refactor archlinux-vm.sh and update defaults

Refactor Arch Linux VM script to improve structure and update default settings.

* Update Arch Linux VM script to use dynamic ISO path
2026-10-07 21:38:56 +02:00
CanbiZ (MickLesk) 712656a330 Refactor: MikroTik RouterOS (#17748)
* Refactor: MikroTik RouterOS

* Update COMMUNITY_SCRIPTS_URL to ProxmoxVE repository
2026-10-07 21:36:18 +02:00
MickLesk 3b768aaeb9 minor qf: update ISO handling in TrueNAS and Umbrel OS VM scripts 2026-10-07 16:00:36 +02:00
push-app-to-main[bot] fa8b74a00b Add fedora-vm (vm) (#17747)
Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
2026-10-07 15:23:06 +02:00
CanbiZ (MickLesk) e773412791 Drop the local header generation; headers come from core (#17623) 2026-10-01 08:14:18 +02:00
community-scripts-pr-app[bot] d439341c7a Update .app files (#17509)
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2026-09-25 21:26:18 +02:00
CanbiZ (MickLesk) 28aa1bdbee Refactor: Umbrel OS VM (#17505)
Refactor Umbrel OS VM script to improve structure and readability. Update function calls and variable handling for better maintainability.
2026-09-25 21:08:49 +02:00
community-scripts-pr-app[bot] 699aa1b4b8 Update .app files (#17441)
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2026-09-22 16:07:59 +02:00
CanbiZ (MickLesk) f212f93d89 Stop generating header filenames with a newline in them (#17435)
generate-app-headers.sh read APP with a plain grep -oP, so a script that
sets APP twice yielded both lines and the filename became
"almalinux
almalinux${var_version}vm". Three of those are in the tree
and they make main impossible to check out on Windows.

Nothing reads vm/headers: get_header fetches banners from the core
repo, which already carries clean almalinux, debian and ubuntu.
2026-09-22 14:30:44 +02:00
CanbiZ (MickLesk) 1ca4284ac3 truenas-vm: strip the G before the storage allocation (#17407)
storage:N wants a plain number; vm_prompt_disk_size returns 32G, so the
advanced path failed with "unable to parse zfs volume name '32G'".
2026-09-21 15:44:05 +02:00
community-scripts-pr-app[bot] 6f035b79fb Update .app files (#17391)
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2026-09-20 16:22:06 +02:00
community-scripts-pr-app[bot] 3e19ee9b32 [core] update .app files (#17329)
* Update .app files

* debian
debian${var_version} löschen

---------

Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com>
2026-09-19 07:47:28 +02:00
CanbiZ (MickLesk) 7c6fb406f2 Ubuntu-VM: AIO | new core | performance | remove old wrappers (#17354)
* Ubuntu-VM: AIO | new core | performance | remove old wrappers

This script automates the creation of an Ubuntu virtual machine with configurable options such as version selection, cloud-init usage, and advanced settings.

* Delete vm/ubuntu2204-vm.sh

* Delete vm/ubuntu2404-vm.sh

* Delete vm/ubuntu2504-vm.sh
2026-09-19 07:24:14 +02:00
CanbiZ (MickLesk) 0e359292ca alpine-vm: ask for the Cloud-Init credentials (#17355)
The default path set USE_CLOUD_INIT itself, so the username and
password dialogs were skipped; only the advanced path asked. The cloud
image sets no password, so the question is which credentials, not
whether. Same fix as almalinux-vm and fedora-vm.
2026-09-18 15:26:47 +02:00
push-app-to-main[bot] 169146e948 Add almalinux-vm (vm) (#17349)
Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
2026-09-18 12:11:19 +02:00
push-app-to-main[bot] 0b2162747f Add alpine-vm (vm) (#17324)
Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
2026-09-17 14:26:41 +02:00
CanbiZ (MickLesk) e24f6baa05 Debian-VM: Refactor | Support Debian 11, 12, 13 (#17325)
* Debian-VM: Refactor | Support Debian 11, 12, 13

* remove deprecated debian 13 vm

* Update Debian VM script to use architecture variable (arm64 support)
2026-09-17 14:15:45 +02:00
community-scripts-pr-app[bot] 17556f06bd Update .app files (#17327)
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2026-09-17 14:01:09 +02:00
push-app-to-main[bot] 50024dd48d Allstarlink (#17321)
* Add allstarlink-vm (vm)

* Add MickLesk as co-author in allstarlink-vm.sh

Updated author information to include MickLesk.

---------

Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com>
2026-09-17 14:00:21 +02:00
community-scripts-pr-app[bot] 8a43e3ddcd Update .app files (#17309)
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2026-09-16 16:45:55 +02:00
CanbiZ (MickLesk) b17e8e5abf Refactor: HomeAssistant-OS (core / improve functions / performance) (#17281)
* HomeAssistant-OS (VM): Refactor for improved readability

Refactor script to improve readability and maintainability. Updated function calls and variable assignments for better clarity.

* Modify author line in haos-vm.sh

Updated author information in the script header.

* Refactor Home Assistant OS version selection and caching

Refactor advanced settings dialog for Home Assistant OS version selection and simplify image caching logic.
2026-09-16 12:01:34 +02:00
community-scripts-pr-app[bot] 3dc4e9a2a6 Update .app files (#17294)
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2026-09-16 12:00:51 +02:00
CanbiZ (MickLesk) 79a320fc3a Refactor: TrueNAS VM (core / improve functions / performance) (#17277)
* Refactor: TrueNAS VM (core / improve functions / performance)

* Boot TrueNAS from sata0, the disk it actually installs to

The boot order named scsi0, which never exists: the system disk is
sata0, and imported passthrough disks start at scsi1 because SCSI_NR is
pre-incremented. So the order always fell through to ide2 and the
installer came back up after every reboot.

* Fix URL in truenas-vm.sh script
2026-09-16 11:59:11 +02:00
CanbiZ (MickLesk) 764e4232ba Docker VM: Feature Bump - Refactor script for improved functionality (#17216) 2026-09-12 22:10:00 +02:00
CanbiZ (MickLesk) 810a6d2e82 vm: drop the discussions link from the summary (#17117) 2026-09-09 19:54:30 +02:00
CanbiZ (MickLesk) 6713f7e17f haos-vm: add optional x86-64-v2-AES CPU option, future HA numpy builds need it (#16868) 2026-08-31 08:52:51 +02:00
CanbiZ (MickLesk) c152912552 general: remove gitea links overall (#16863)
* docker-vm, pve-privilege-converter: source from GitHub raw instead of gitea mirror

* docker-vm, pve-privilege-converter, vm-core.func: source from GitHub raw instead of gitea mirror
2026-08-30 12:52:43 +02:00
CanbiZ (MickLesk) 6f4d3b4841 HAOS: remove non-ASCII dash from CPU model dialog text (#16276) 2026-08-05 00:24:56 +02:00
community-scripts-pr-app[bot] 26abc114fd Update .app files (#16269)
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2026-08-04 21:06:45 +02:00
CanbiZ (MickLesk) 2dd9d98e8a OPNsense VM: answer console password prompt explicitly (#16021) 2026-07-26 16:57:29 +02:00
CanbiZ (MickLesk) f40adfa1da VM: fix machine type selection being ignored, VM always created as q35 (#15995)
* HAOS: fix machine type selection being ignored, VM always created as q35

* Fix machine parameter formatting in VM script
2026-07-24 10:03:48 +02:00
CanbiZ (MickLesk) 0576b7c61f OPNSense: Bump FreeBSD to 15 and OPNSense to 26.7 (#15943)
* OPNSense: Bump FreeBSD to 15 and OPNSense to 26.7

* fix user feedback

* fix typo

* fix url for image

* Replace fixed OPNsense wait with screen polling

Swap the hardcoded 1000-second sleep for an adaptive loop that watches VM console screendump hashes and proceeds after sustained stability. The new logic enforces a minimum 5-minute wait, checks every 30 seconds, and caps total wait at 40 minutes to handle slower hosts or screendump failures more reliably.

* Harden OPNsense build wait detection

Improves VM install completion detection by encapsulating screendump hashing in a helper, clearing stale dump files, and trying both `qm monitor` and `pvesh` monitor paths. The stability check now tolerates alternating A/B frames from a blinking login cursor instead of requiring one identical frame. It also adds elapsed-time progress output and a safe fallback to a fixed 12-minute wait when screendumps are unavailable, avoiding false completion or endless polling.
2026-07-22 08:59:05 +02:00