1488 Commits

Author SHA1 Message Date
CanbiZ
f8f95d4881 merge dev <> live 2025-12-02 10:23:26 +01:00
CanbiZ
40b9867653 Update cloud-init.func 2025-12-01 12:51:51 +01:00
CanbiZ
9a3cc3de61 Documentation 2025-12-01 10:40:14 +01:00
CanbiZ
43dd7aacc8 Cleanup 2025-12-01 10:19:04 +01:00
CanbiZ
6da891f822 typo 2025-11-28 09:07:57 +01:00
CanbiZ
76e933b3a4 Refactor advanced_settings and add whitelist check
Moved and redefined _is_whitelisted_key as a global function for use in multiple locations. Improved formatting and readability in the advanced_settings wizard, including better handling of container type selection and IPv6 configuration steps.
2025-11-27 16:36:53 +01:00
CanbiZ
54faeadf07 Create build.func - advanced-backup-20251127-154005.func 2025-11-27 16:34:36 +01:00
CanbiZ
9554dae973 Refactor advanced_settings to wizard with back navigation
Replaces the old whiptail menu loop in advanced_settings with a state-machine, wizard-style configuration supporting forward and backward navigation. Each step is now modular, input validation is improved, and a summary confirmation is shown before applying settings. This enhances user experience and maintainability for container configuration.
2025-11-27 16:32:05 +01:00
CanbiZ
d9e5340904 Refactor vars file loading to shared function
Introduced a new load_vars_file() function to safely parse and load whitelisted var_* keys from vars files. Replaced duplicate local parsing logic in default_var_settings and install_script with the shared function for consistency and maintainability.
2025-11-27 15:38:48 +01:00
CanbiZ
342b7e7e70 Use alternate screen buffer in advanced_settings
Added tput smcup and rmcup to advanced_settings to prevent flicker between dialogs. A trap ensures the alternate screen buffer is exited on any return.
2025-11-27 15:36:14 +01:00
CanbiZ
f912661ba3 Update build.func 2025-11-27 15:33:51 +01:00
CanbiZ
f236fa0487 Switch Backto Main Menü and Exit Script 2025-11-27 15:33:16 +01:00
CanbiZ
c58f808d62 cleanup 2025-11-27 15:30:59 +01:00
CanbiZ
a8940ee416 Add refactored build menu functions
Introduces misc/build refactor_menu.func with comprehensive build and configuration functions for LXC containers in Proxmox VE. Refactors and modularizes initialization, storage selection, resource management, and advanced interactive configuration logic from misc/build.func.
2025-11-27 15:28:55 +01:00
CanbiZ
acadc4496e always use nano for config, its easier 2025-11-27 15:25:54 +01:00
CanbiZ
09318fef72 fix some ui bugs 2025-11-27 15:23:02 +01:00
CanbiZ
47f0a515b6
Update core.func 2025-11-25 22:23:35 +01:00
CanbiZ
987e7ee790
Remove Python uv cache clean and simplify journalctl
Removed the cache cleaning for Python uv and simplified journalctl commands.
2025-11-25 18:56:15 +01:00
CanbiZ
1eb8111a28 remove debug output 2025-11-24 15:39:34 +01:00
CanbiZ
fac32e6840 Update build.func 2025-11-24 15:10:49 +01:00
CanbiZ
b2abad19ba Update build.func 2025-11-24 15:07:27 +01:00
CanbiZ
3fdb2d79c6 Normalize feature flag handling in build.func
Updated feature flag normalization to support both yes/no and 0/1 formats for ENABLE_NESTING, ENABLE_KEYCTL, and ENABLE_MKNOD. ENABLE_FUSE remains as yes/no for backward compatibility.
2025-11-24 14:59:26 +01:00
CanbiZ
99ac1ac908 Update build.func 2025-11-24 14:47:24 +01:00
CanbiZ
222bdedc25 Update build.func 2025-11-24 14:43:57 +01:00
CanbiZ
a47bc24568 Refactor PCT Options 2025-11-24 14:35:02 +01:00
CanbiZ
16c65ae73a Update build.func 2025-11-24 14:17:52 +01:00
CanbiZ
3a71045891 Update build.func 2025-11-24 14:09:29 +01:00
CanbiZ
ced1173282 Update build.func 2025-11-24 14:00:17 +01:00
CanbiZ
4613021586 Update build.func 2025-11-24 13:55:21 +01:00
CanbiZ
b529d45db0 Update build.func 2025-11-24 13:54:42 +01:00
CanbiZ
f008d4bbf9 Comment out problematic feature and dev mode code
Commented out sections related to advanced feature flags, array-based FEATURES and PCT_OPTIONS, and dev mode exports that were causing compatibility and autologin issues. Added notes and TODOs for future integration, and moved MOTD/SSH setup for debugging to only run when containers are kept for troubleshooting.
2025-11-24 13:53:48 +01:00
CanbiZ
fa82374abb Revert 2025-11-24 13:42:54 +01:00
CanbiZ
894449182d Debugcontainer build options handling
Changed PCT_OPTIONS from an array to a string for proper export and compatibility with Proxmox pct. Features are now passed as a comma-separated string. Also updated install.func to use a literal heredoc for systemd override configuration.
2025-11-24 13:34:01 +01:00
CanbiZ
b87558b415 Update build.func 2025-11-24 13:14:17 +01:00
CanbiZ
f32ab7876f Update install.func 2025-11-24 13:13:13 +01:00
CanbiZ
806bb715a9 Remove dev mode and log handling from build/install
Cleaned up dev mode and persistent log directory logic from build.func and install.func. Network connectivity status messages are now more direct, and unnecessary exports and re-parsing of dev_mode have been removed for clarity and maintainability.
2025-11-24 11:54:20 +01:00
CanbiZ
bea8814994 reverted 2025-11-24 11:42:00 +01:00
CanbiZ
e147c848bb Update install.func 2025-11-24 11:35:48 +01:00
CanbiZ
7455f8195c Update build.func 2025-11-24 11:35:10 +01:00
CanbiZ
cb2c3fab96 Update install.func 2025-11-24 11:22:04 +01:00
CanbiZ
1f6034a15b Update install.func 2025-11-24 11:19:40 +01:00
CanbiZ
645b532e17 Update install.func 2025-11-24 10:43:32 +01:00
CanbiZ
3a4d938fac Update install.func 2025-11-24 10:28:56 +01:00
CanbiZ
532fa094f3 Refactor GPU passthrough and device config handling
Switches device configuration to use pct set format for GPU passthrough, simplifying config and improving GUI visibility. Updates GID handling logic for devices, streamlines fix_gpu_gids function, and improves container creation logging and API reporting. Removes commented-out MOTD/SSH debug setup from build copy.func.
2025-11-24 10:11:13 +01:00
CanbiZ
8740271cd9 Update build.func 2025-11-24 09:48:53 +01:00
CanbiZ
f866c1cbef Add build copy.func and update build.func
Added new 'build copy.func' script for LXC container build and configuration in Proxmox VE, including variable initialization, storage management, resource allocation, and advanced interactive configuration. Updated 'build.func' to support new features and improved logic for container setup, storage selection, and app-specific defaults management.
2025-11-24 09:34:35 +01:00
CanbiZ
6a2928ca47 Update build.func 2025-11-24 09:19:34 +01:00
CanbiZ
e64957656b Quote variables in log display conditions
Added quotes around build_log_copied and install_log_copied variables in conditional checks to prevent potential issues with unbound or empty variables during log display.
2025-11-22 17:51:18 +01:00
CanbiZ
517f5b3d0c switch baks 2025-11-22 17:38:15 +01:00
CanbiZ
3133f47d6e Update build.func 2025-11-22 17:37:30 +01:00