252 Commits

Author SHA1 Message Date
github-actions[bot]
9743e23292
Delete truenas-vm (vm) after migration to ProxmoxVE (#1479)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-19 07:47:12 +00:00
juronja
feabc81cfb missed set truncation to 45 2026-02-17 10:34:06 +00:00
juronja
bfa2a45a54 set truncation to 45 char 2026-02-17 10:29:52 +00:00
juronja
ef54d4fd6c show no tags 2026-02-17 08:19:06 +00:00
juronja
18b70e7c39 truncating longer strings 2026-02-17 08:12:52 +00:00
CanbiZ (MickLesk)
f9628d4935
Merge pull request #1457 from juronja/truenas-vm-fixes
Some checks failed
Update GitHub Versions (New) / update-github-versions (push) Has been cancelled
Crawl Versions from newreleases.io / crawl-versions (push) Has been cancelled
Crawl Versions from github / crawl-versions (push) Has been cancelled
truenas-vm - SERIAL ID and other minor fixes
2026-02-16 12:58:33 +01:00
CanbiZ (MickLesk)
1da0d502d7 Simplify VM disk setup in cachyos-vm.sh
Remove storage type detection and explicit pvesm alloc/qm set steps, and inline EFI/disk/CD configuration into the initial qm create call. Uses unified storage refs (efidisk0 ${STORAGE}:1,efitype=4m,pre-enrolled-keys=0 and scsi0 ${STORAGE}:${DISK_SIZE},${DISK_CACHE}${THIN%,}) and sets the ISO via -cdrom local:iso/${FILENAME}. Adds a success message and streamlines VM creation by eliminating per-storage branching and manual allocation logic.
2026-02-16 10:07:29 +01:00
CanbiZ (MickLesk)
d87c93a364 Update cachyos-vm.sh
Some checks failed
Update GitHub Versions (New) / update-github-versions (push) Has been cancelled
Update Versions from GitHub / update-versions (push) Has been cancelled
2026-02-14 15:22:23 +01:00
CanbiZ (MickLesk)
1d3f45f792 Use local ISO cache; remove ISO storage selection
Remove interactive ISO storage detection/selection and associated ISO_PATH logic. Default to a fixed cache directory (/var/lib/vz/template/iso) via CACHE_DIR and update CACHE_FILE and mkdir usage accordingly. Also update VM configuration to reference the local ISO store (local:iso/<file>) instead of the previously selectable storage. This simplifies ISO handling by avoiding pvesm/whiptail prompts; note this hardcodes the ISO location and removes support for alternate ISO storages.
2026-02-14 14:58:11 +01:00
juronja
ed547dc464 using udevadm to get device serial 2026-02-14 10:04:13 +00:00
juronja
7f4d78f0a3 Merge branch 'main' into truenas-vm-fixes 2026-02-14 09:39:55 +00:00
CanbiZ (MickLesk)
fe369825a5
Merge pull request #1456 from heinemannj/truenas-vm
Some checks failed
Update GitHub Versions (New) / update-github-versions (push) Has been cancelled
Crawl Versions from newreleases.io / crawl-versions (push) Has been cancelled
Crawl Versions from github / crawl-versions (push) Has been cancelled
truenas-vm: Refactor pve_check function and update disk listing
2026-02-14 09:12:11 +01:00
CanbiZ (MickLesk)
7d7c6e4096 Add CachyOS VM creation script
Introduce an interactive script (vm/cachyos-vm.sh) to create and configure a CachyOS VM on Proxmox. The script validates Proxmox environment and architecture, offers default and advanced settings via whiptail, detects storage/ISO locations, downloads the CachyOS desktop ISO, allocates EFI and main disks, creates and configures the VM (network, CPU, memory, disks, boot order, OVMF), sets a rich VM description, and optionally starts the VM. Also add an ASCII header file (vm/headers/cachyos-vm) used by the script.
2026-02-13 15:26:17 +01:00
juronja
8ffbe015f1 preselect only stable releases 2026-02-13 14:23:54 +00:00
juronja
4a0824777a second attempt to preselect last item 2026-02-13 14:16:51 +00:00
juronja
a004ae98dd reversed the preselect logic 2026-02-13 14:09:44 +00:00
juronja
02398c167e preincrement 2026-02-13 14:03:47 +00:00
juronja
872eda28a0 added variables instead of hardcoded values 2026-02-13 13:55:46 +00:00
Joerg Heinemann
684ae3e762
Refactor pve_check function and update disk listing
See: https://github.com/community-scripts/ProxmoxVED/issues/1362#issuecomment-3897164396
2026-02-13 14:41:11 +01:00
juronja
e238543993 fallback If no stable was found 2026-02-13 13:35:40 +00:00
juronja
c997910d58 order of operations fix 2026-02-13 13:22:13 +00:00
juronja
989580629a preselect latest stable ISO fix 2026-02-13 13:12:41 +00:00
CanbiZ (MickLesk)
e7057f29d4 Add interactive SSH key selection for cloud-init
Make SSH key provisioning explicit and interactive for cloud-init VMs. Default CLOUDINIT_SSH_KEYS is now empty; new helper functions discover and extract public keys from common host files, count them, and present a whiptail menu (import all host keys, paste one key, specify a file, or none). configure_cloudinit_ssh_keys writes selected keys to a temp file and sets CLOUDINIT_SSH_KEYS accordingly (removing the temp file if empty). setup_cloud_init now only applies --sshkeys when CLOUDINIT_SSH_KEYS is explicitly provided and logs the source, and vm/docker-vm.sh invokes the key selection UI for cloud-init VMs.
2026-02-04 11:16:41 +01:00
CanbiZ (MickLesk)
49318cc629 remove ssh check 2026-02-03 14:11:38 +01:00
CanbiZ (MickLesk)
e91972e02c Enhance VM image customization and auto-login
Add informative status messages and improve image customization flow: install base packages and Docker during virt-customize, enable Docker service, and configure /etc/docker/daemon.json (sets DOCKER_PREINSTALLED on success). Add finalization messages while setting hostname and SSH config. For images without cloud-init, add systemd drop-ins to enable root autologin on serial-getty@ttyS0 and getty@tty1. Also add a trailing newline to nginx-ui.json.
2026-02-03 13:10:52 +01:00
CanbiZ (MickLesk)
b7b988bc75 Remove duplicate qm set; show Cloud-Init output
Collapse duplicated qm set invocation into a single call when attaching the EFI and root disk, removing the duplicate conditional block. Also stop redirecting setup_cloud_init output (remove >/dev/null 2>&1) so Cloud-Init setup logs and errors are visible for debugging. Note: the previous conditional added a --scsi1 "${STORAGE}:cloudinit" only when USE_CLOUD_INIT=yes; that explicit scsi1 assignment is no longer present in this unified call.
2026-02-03 12:17:01 +01:00
CanbiZ (MickLesk)
5037dad561 Update docker-vm.sh 2026-02-03 11:39:23 +01:00
CanbiZ (MickLesk)
044fc85fac Refactor Docker VM: image caching & preinstall
Remove Portainer option and related install/helper functions. Add caching of downloaded OS images to /var/lib/vz/template/cache and use a temporary work qcow2 for customization. Try to preinstall qemu-guest-agent and Docker with virt-customize (marking DOCKER_PREINSTALLED on success) and provide a fallback first-boot install-docker.service script when customization fails. Replace import flow to detect qm disk import vs qm importdisk, import the prepared image into storage, resize the disk, attach EFI/root disks, and simplify VM creation steps. Include various UX/cleanup tweaks (spinner handling, storage import flags, status messages and Cloud-Init/SSH handling).
2026-02-03 11:27:11 +01:00
juronja
162f62daa2 reversed the disk placeholder size 2026-01-30 10:07:10 +00:00
juronja
05416f9fe5 removing iothread and adding serial ID trim for robustness 2026-01-30 09:39:52 +00:00
juronja
e43427548e added disk size placeholder and changed boot diks to sata 2026-01-30 09:31:47 +00:00
juronja
773e748d95 imported disks now have a serial ID. TrueNAS needs it. 2026-01-30 09:18:42 +00:00
juronja
dd60bb0c51 Merge branch 'truenasvm' of https://github.com/juronja/ProxmoxVED into truenasvm 2026-01-29 20:08:28 +00:00
juronja
2c9fb7b6f9 removed comments 2026-01-29 19:01:49 +00:00
juronja
f04946cae8
Adding source in file header
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-01-16 13:20:18 +01:00
juronja
fabeb9f0d6 added comments for custom code specific to truenas 2026-01-16 11:34:48 +00:00
juronja
773d588232 removed info message 2026-01-16 11:26:25 +00:00
juronja
d979edecf1 Fetching iso list msg 2026-01-16 11:16:21 +00:00
juronja
42b192272d testing with 3 sec sleep 2026-01-15 16:19:00 +00:00
juronja
e748ad5a6d added sleep for disk pickup 2026-01-15 16:02:20 +00:00
juronja
9872ea39f3 api func source changed to VED 2026-01-15 15:52:19 +00:00
juronja
0cd7eed276 initial commit 2026-01-15 15:46:35 +00:00
CanbiZ (MickLesk)
eeb93a3f61
Merge pull request #1286 from juronja/debian-hostname-fix
hostname value for debian fix
2026-01-14 18:34:10 +01:00
juronja
9eb59f42e1 hostname value for debian fix 2026-01-14 17:13:44 +00:00
CanbiZ
ed67ef9663 Update unifi-os-server-vm.sh 2026-01-14 17:22:22 +01:00
CanbiZ
b9aa3ec7ab Enhance Piler and UniFi OS VM installation scripts
Added installation steps for Piler WebUI and improved config file handling in piler-install.sh. Updated unifi-os-server-vm.sh to always prompt for VMID, refactored machine type selection, improved storage validation, added swap file setup for stability, and increased VM IP detection attempts for reliability.
2026-01-14 17:17:04 +01:00
CanbiZ
f8e8050634 fix headers 2026-01-13 11:30:27 +01:00
CanbiZ
4f5e9d893f add missing headers and add windows version of app headers 2026-01-13 11:22:29 +01:00
CanbiZ
b09d6de681 ram 2026-01-07 17:54:29 +01:00
CanbiZ
e4c30ebca5 ip 2026-01-07 17:53:40 +01:00