Updated default machine type to Q35 and improved user messaging for machine selection. Enhanced Docker and base package installation with DNS configuration and fallback to cloud-init if installation fails. Refactored Portainer installation logic and improved status reporting for Docker setup.
Introduces misc/cloud-init.sh, a universal Cloud-Init helper library for Proxmox VM scripts. Refactors vm/docker-vm.sh to source the new Cloud-Init library, reorganizes variable initialization, improves OS and configuration selection logic, and enhances user interaction for VM creation. Also adds a backup of the previous docker-vm.sh as docker-vm.sh.bak.
Changed indentation from 4 spaces to 2 spaces for all functions in misc/core.func to improve consistency and readability. No functional changes were made.
Updated setup_mariadb_db and setup_postgresql_db to use more descriptive and explicit environment variable names (e.g., MARIADB_DB_NAME, PG_DB_NAME) instead of generic DB_NAME and DB_USER. This improves clarity, reduces risk of variable collision, and makes usage more consistent across scripts.
Standardized environment variable names for PostgreSQL and MariaDB setup in domain-locker and domain-monitor install scripts. Ensures correct variable usage and improves clarity for database configuration.
Refactored MariaDB and PostgreSQL setup functions to use safer parameter expansion for environment variables, preventing unset variable errors. Updated credential file naming and improved comments for clarity.