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.
This commit is contained in:
11
vm/headers/almalinux-10-vm
Normal file
11
vm/headers/almalinux-10-vm
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
█████╗ ██╗ ███╗ ███╗ █████╗ ██╗ ██╗███╗ ██╗██╗ ██╗██╗ ██╗
|
||||
██╔══██╗██║ ████╗ ████║██╔══██╗██║ ██║████╗ ██║██║ ██║╚██╗██╔╝
|
||||
███████║██║ ██╔████╔██║███████║██║ ██║██╔██╗ ██║██║ ██║ ╚███╔╝
|
||||
██╔══██║██║ ██║╚██╔╝██║██╔══██║██║ ██║██║╚██╗██║██║ ██║ ██╔██╗
|
||||
██║ ██║███████╗██║ ╚═╝ ██║██║ ██║███████╗██║██║ ╚████║╚██████╔╝██╔╝ ██╗
|
||||
╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝
|
||||
|
||||
AlmaLinux 10 VM
|
||||
(Heliotrope Lion)
|
||||
|
||||
Reference in New Issue
Block a user