Commit Graph

9963 Commits

Author SHA1 Message Date
MickLesk
2a8c6b260f Add optional Cloud-Init and q35 support
Introduce optional Cloud-Init integration and better machine type handling for VMs. Changes include: loading cloud-init helpers lazily (load_cloud_init_functions), interactive cloud-init prompt/configuration (vm_prompt_cloud_init) and SSH key handling, a cloud icon for UI, and vm_machine_type_label for readable machine type display. Default machine type switched to q35 and displays the label in prompts and summaries. VM creation logic now conditionally attaches the cloudinit drive (ide2) and runs setup_cloud_init when enabled; otherwise it creates the VM without the cloudinit device. Post-install messaging now either shows cloud-init details or a guidance message about manual guest filesystem expansion. Minor UI/output adjustments and defaults updated accordingly.
2026-05-07 10:16:16 +02:00
github-actions[bot]
0c5240302c chore: update app headers [skip ci] 2026-05-07 07:53:22 +00:00
MickLesk
27f256a20f Refactor VM script to use shared vm-core helpers
Introduce a shared vm-core loader and refactor the Ubuntu 26.04 VM script to use reusable helper functions. misc/vm-core.func: add COMMUNITY_SCRIPTS_URL default and load_api_functions to dynamically source API helpers, then call load_api_functions from load_functions. vm/ubuntu2604-vm.sh: switch to sourcing the shared vm-core via COMMUNITY_SCRIPTS_URL, replace many inline UI and utility functions with generic vm_* helpers (vm_confirm_new_vm, vm_prompt_*, vm_select_storage, vm_define_disk_references, set_description, etc.), modernize quoting and pushd usage, simplify disk import/resizing logic, and set START_VM default to yes. Also update repository URLs to ProxmoxVED and adjust some behavior (machine type handling, storage/disk references). Overall this centralizes common functionality, reduces duplication, and prepares scripts to use the shared core utilities.
2026-05-07 09:52:57 +02:00
MickLesk
2f5a5771b0 Add interactive VM prompts and error handling
Introduce interactive whiptail-based helpers and robust error handling for VM creation.

- Add error_handler() to report failures (calls post_update_to_api if available), print contextual error info, and call cleanup_vmid.
- Ensure TEMP_DIR is removed in cleanup().
- Replace brittle pve_check with version parsing that supports Proxmox VE 8.0–8.9 and 9.0–9.1 (exits with code 105 on unsupported versions).
- Add ssh_check() to warn users running the script over SSH.
- Add sanitize_vm_hostname() and a suite of vm_* helper functions to prompt and validate interactive settings via whiptail: vm_confirm_new_vm, vm_choose_settings_mode, vm_prompt_vmid, vm_prompt_machine_type, vm_apply_machine_type, vm_prompt_disk_size, vm_prompt_disk_cache, vm_prompt_hostname, vm_prompt_cpu_model, vm_prompt_cpu_cores, vm_prompt_ram, vm_prompt_bridge, vm_prompt_mac, vm_prompt_vlan, vm_prompt_mtu, vm_prompt_start_vm.
- Add storage helpers: vm_select_storage, vm_apply_storage_layout, vm_define_disk_references to detect storage pools, set formats/extensions and prepare disk refs.
- Use APP/NSAPP for description title by introducing local description_title in set_description().

These changes centralize validation and interactive flow, improve UX, and harden error reporting and cleanup.
2026-05-07 09:45:45 +02:00
MickLesk
d1a1c795b7 Create ubuntu2604-vm.sh 2026-05-07 09:36:48 +02:00
MickLesk
e287504ab9 fix: improve HyperDX API build process in ClickHouse scripts
Co-authored-by: Copilot <copilot@github.com>
2026-05-06 10:07:08 +02:00
MickLesk
d1bd9de24a Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED 2026-05-06 09:10:04 +02:00
MickLesk
3850f46cdb fix clickstack 2026-05-06 09:10:02 +02:00
github-actions[bot]
850a4cf4b7 chore: update app headers [skip ci] 2026-05-06 07:09:05 +00:00
MickLesk
7376a73337 Refactor AlmaLinux VM installer & lobehub setup
Modernize and simplify VM installer and lobehub installation flows.

Key changes:
- install/lobehub-install.sh: consolidated apt invocation, replaced manual ParadeDB .deb download with fetch_and_deploy_gh_release helper, added postgresql pg_search preload configuration and restart, moved pnpm installation into setup_nodejs via NODE_MODULE, and adjusted build env handling.
- vm/almalinux-10-vm.sh: major refactor to source shared functions from COMMUNITY_SCRIPTS_URL, add load_functions, centralize cloud-init handling (configure_cloudinit_ssh_keys / setup_cloud_init), replace many custom UI/helper functions with standardized helpers and exit_script, update traps and error handling, simplify prompts/defaults, use $STD for apt operations, and streamline image customization and VM creation flow.
- Added vm/headers/almalinux-10-vm containing the VM header art and title.

These changes centralize common logic, improve cloud-init integration, reduce duplicated code, and make maintenance easier.
2026-05-06 09:08:38 +02:00
MickLesk
012fa20a03 dfv 2026-05-06 08:35:07 +02:00
MickLesk
1580612098 finalize hoodik
Co-authored-by: Copilot <copilot@github.com>
2026-05-06 08:34:10 +02:00
MickLesk
7b5bb6dfd9 Update domain configuration to use nip.io for subdomain routing and enhance documentation 2026-05-06 07:36:01 +02:00
MickLesk
bc51257aa7 Refactor build process in Puter installation and update JSON files to ensure proper formatting 2026-05-06 07:09:31 +02:00
CanbiZ (MickLesk)
98e1dd0133 Increase default disk size from 10GB to 16GB 2026-05-05 14:40:57 +02:00
github-actions[bot]
c340f4d4e9 Delete protonmail-bridge (ct) after migration to ProxmoxVE (#1785)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-04 17:20:40 +00:00
CanbiZ (MickLesk)
daf3d624ee Merge pull request #1779 from thieneret/update/authentik-fix-volume-attach
authentik:storage-fix
2026-05-04 07:34:47 +02:00
Thieneret
340cfd679c storage-fix 2026-05-04 00:26:09 +02:00
CanbiZ (MickLesk)
bd804eba5a Merge pull request #1776 from thieneret/update/authentik-outposts
authentik: add outposts
2026-05-02 22:32:32 +02:00
MickLesk
ec5341f9dd Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED 2026-05-02 21:48:29 +02:00
MickLesk
9a9138a051 fix
Co-authored-by: Copilot <copilot@github.com>
2026-05-02 21:48:23 +02:00
github-actions[bot]
6fe0684fb7 chore: update app headers [skip ci] 2026-05-02 19:13:37 +00:00
MickLesk
494d41392d add docuseal
Co-authored-by: Copilot <copilot@github.com>
2026-05-02 21:13:05 +02:00
Thieneret
5a7c0025ef add outposts 2026-05-02 09:19:18 +02:00
tremor021
b0cb194bd5 soulsync: fix Micks stuff again 2026-04-30 18:53:22 +02:00
CanbiZ (MickLesk)
6d9d44642c Merge pull request #1645 from WaffleThief123/forgejo-runner-fix
forgejo-runner (FIX): support generated/unattended mode and configurable runner labels
2026-04-30 15:39:37 +02:00
CanbiZ (MickLesk)
0d04c568ad fix(invidious): companion key must be exactly 16 chars (rand -hex 8) 2026-04-30 15:30:21 +02:00
CanbiZ (MickLesk)
7aa3343e1f fix(ente): match actual subscriptions schema (storage column, attributes jsonb, no transaction_id) 2026-04-30 15:03:23 +02:00
CanbiZ (MickLesk)
8a10bfe155 fix(garmin-grafana): pass --homepath to grafana-cli plugin install 2026-04-30 15:02:14 +02:00
CanbiZ (MickLesk)
ca8ddd34a7 fix(ente): replace fragile HMAC email lookup with user_id-based admin/subscription setup 2026-04-30 15:00:56 +02:00
CanbiZ (MickLesk)
8058b92558 fix(invidious): bump RAM to 4GB / disk to 8GB (Crystal compile needs >=2.5GB free) 2026-04-30 14:57:00 +02:00
CanbiZ (MickLesk)
c7bc06aaa5 fix(garmin-grafana): avoid set -e abort on ((retries++)) returning 0 2026-04-30 14:51:02 +02:00
CanbiZ (MickLesk)
01376b3e51 fix(paperclip): trim notes to fit Discord 2000 char limit 2026-04-30 14:50:33 +02:00
CanbiZ (MickLesk)
59331708a5 fix(invidious): broken sed address, key typo, wrong service paths, missing logrotate path 2026-04-30 14:46:36 +02:00
CanbiZ (MickLesk)
328561e64d fix(invidious): use ~ as sed delimiter and anchor-based replacement (pipe in pattern broke sed) 2026-04-30 14:43:43 +02:00
CanbiZ (MickLesk)
50af211392 fix(garmin-grafana): revert chronograf to fetch_and_deploy_from_url (no .deb in GH releases) 2026-04-30 14:42:50 +02:00
CanbiZ (MickLesk)
cbd38c581e fix(authentik): align install with two-volume layout from ct/authentik.sh
- drop redundant curl of default.yml (file is part of release tarball)
- stop creating /opt/authentik-data dirs in install (mounted later as separate volume)
- enable services without --now in install (started after data volume is attached)
2026-04-30 14:37:57 +02:00
CanbiZ (MickLesk)
501b2145f1 fix(ente): use HMAC-SHA-256 email_hash for user lookup (schema has no plain email column) 2026-04-30 14:36:07 +02:00
CanbiZ (MickLesk)
90f77a81ca fix(plane): set anonymous download on MinIO uploads bucket, raise upload limits 2026-04-30 14:36:02 +02:00
CanbiZ (MickLesk)
8cf1ff11e1 docs(blinko): add note about F5 refresh after signup 2026-04-30 14:36:02 +02:00
CanbiZ (MickLesk)
e84dca5efa fix(invidious): strip git invocations from invidious.cr before make 2026-04-30 14:35:57 +02:00
CanbiZ (MickLesk)
7dfe23a785 refactor(garmin-grafana): use fetch_and_deploy_gh_release for Chronograf, split config blocks 2026-04-30 14:35:52 +02:00
CanbiZ (MickLesk)
b920412247 fix(clickhouse): clarify URL labels (Play UI / HTTP API on 8123) 2026-04-30 14:35:47 +02:00
CanbiZ (MickLesk)
720b077c22 Update nagios-install.sh 2026-04-30 14:13:52 +02:00
CanbiZ (MickLesk)
5b84bd9742 Update nagios.sh 2026-04-30 14:01:24 +02:00
CanbiZ (MickLesk)
bfc3b8b617 simplify nagios 2026-04-30 14:00:30 +02:00
CanbiZ (MickLesk)
c632b4eeaa fix release parsing 2026-04-30 13:57:35 +02:00
CanbiZ (MickLesk)
f490247be0 Add GitLab checker; gate storyteller update
Introduce GitLab release helpers and use them to conditionally update Storyteller.

- misc/tools.func: add get_latest_gitlab_release and check_for_gl_release functions (GitLab API calls, token support, pinning, error handling, requires jq).
- ct/storyteller.sh: wrap update sequence with check_for_gl_release so rebuild/deploy only runs when a new GitLab release is detected; update author metadata.
- install/storyteller-install.sh: remove python3 from apt dependencies and drop NODE_OPTIONS export; minor whitespace cleanup.

These changes prevent unnecessary rebuilds by detecting upstream GitLab releases and improve robustness of release detection and error reporting.
2026-04-30 13:41:10 +02:00
CanbiZ (MickLesk)
edc740e0a0 Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED 2026-04-30 13:32:45 +02:00
tremor021
390061cf50 tools.func: handle minor versions for 8.x 2026-04-30 12:17:36 +02:00