Commit Graph

5 Commits

Author SHA1 Message Date
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
CanbiZ (MickLesk)
99ff914831 Validation, hostname sanitization, update traps
Improve robustness by adding input validation and sanitization. Replace SIGINT/SIGTERM trap payloads with numeric exit codes (130 and 143). Sanitize hostname to allowed characters and notify the user if it was adjusted. Add validation loops and user messages for CPU cores and RAM (positive integers), MAC address format (XX:XX:XX:XX:XX:XX), VLAN (1-4094 or default), and MTU (576-65520 or default). Minor output ordering tweaks to ensure values are echoed after processing.
2026-03-23 14:54:50 +01:00
CanbiZ (MickLesk)
54bc5559d3 fixes alma linux stp 1 2026-03-23 14:43:38 +01:00
Agent-Fennec
4a3e0019ca fix: review feedback 2026-02-20 18:08:01 -05:00
Agent-Fennec
1ec86f7b61 Add AlmaLinux 10 VM 2026-02-20 17:25:35 -05:00