1463 Commits

Author SHA1 Message Date
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
Tobias
e49a5b6bc2
undo 2025-11-21 11:06:13 +01:00
Tobias
fbbc94757c
Output header URL and parameters for debugging
Add echo statement to output header URL and parameters
2025-11-21 10:57:52 +01:00
CanbiZ
d893df02aa Fix mealie-install.sh: use uv sync, add .env file, use uv run for systemd service 2025-11-20 13:44:32 +01:00
CanbiZ
52847c8dd8 Fix motd_ssh console issue: remove systemctl restart that breaks getty TTY 2025-11-20 13:34:42 +01:00
CanbiZ
79b44d3007 Update core.func 2025-11-20 11:29:26 +01:00
CanbiZ
b7430c20fe Update remaining pve_check functions to support Proxmox 9.0 and 9.1 2025-11-19 16:42:59 +01:00
CanbiZ
9e22bee07e Extend PVE support to version 9.0 and 9.1 in all pve_check functions 2025-11-19 16:39:05 +01:00
CanbiZ
686e1988b3 Fix motd_ssh timing in description() - remove late post-install call 2025-11-17 17:22:54 +01:00
CanbiZ
5ed03e1c62 Lowercase APPLICATION variable for credentials filenames (e.g. plex.creds instead of Plex.creds) 2025-11-17 16:18:15 +01:00
CanbiZ
9607c83465 Compact network check output: combine IPv4/IPv6 status into single line 2025-11-17 16:11:14 +01:00
CanbiZ
1c80a22685 Add container cleanup prompt to error_handler for build failures (e.g. GPU passthrough errors) 2025-11-17 16:02:29 +01:00
CanbiZ
d08d3ec424 Fix: remove debug echo from post_to_api, fix dev_index arithmetic in GPU passthrough (set -e compatible) 2025-11-17 15:44:56 +01:00
CanbiZ
68aa1df1b6 Fix GPU passthrough: use dev0/dev1 format instead of lxc.mount.entry, fix GID detection, cleanup output 2025-11-17 15:25:45 +01:00
CanbiZ
a7daaee5ae Refactor dev MOTD/SSH setup and journal cleanup
Moved MOTD/SSH setup for dev mode in LXC containers to run after installation and when containers are kept for debugging, improving reliability and clarity. Updated journalctl cleanup to avoid using $STD and suppress errors if systemd-journald is not initialized. Also refactored indentation in misc/api.func for consistency.
2025-11-17 15:09:36 +01:00
CanbiZ
1090081a66 remove ipv6 from api 2025-11-17 15:01:22 +01:00
CanbiZ
b5d3293202 typo 2025-11-17 14:58:29 +01:00
CanbiZ
db70e9ac34 Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED 2025-11-17 14:56:29 +01:00
CanbiZ
6e98e359d8 post 2 api + error_handling
Switches from a comma-separated FEATURES string to a FEATURES_ARRAY for proper Proxmox parameter handling. Refactors PCT_OPTIONS to an array for safer argument passing, updates container creation calls, and adds API reporting after container creation.
2025-11-17 14:56:18 +01:00
4f1199a06e add testing echo 2025-11-17 14:51:46 +01:00
CanbiZ
2d35c9011a Normalize feature flags to numeric values in build.func
Moved normalization of feature flags (ENABLE_NESTING, ENABLE_KEYCTL, ENABLE_MKNOD, ENABLE_FUSE, PROTECT_CT) to base_settings() for consistent 0/1 values. Updated build_container() to rely on pre-normalized flags and fixed ENABLE_FUSE check. Improved pct create log file naming for uniqueness.
2025-11-17 14:41:51 +01:00
CanbiZ
414b36410d Normalize feature flags to numeric values in build.func
Updated ENABLE_NESTING, ENABLE_KEYCTL, and ENABLE_MKNOD normalization to ensure they are set to 0 or 1, as required by pct. This improves compatibility and prevents issues with non-numeric values.
2025-11-17 14:35:59 +01:00
CanbiZ
26aca1ce09 silent upgrade container 2025-11-17 14:26:32 +01:00
CanbiZ
e2179db113 Refactor MOTD/SSH setup in build script
Simplifies MOTD and SSH setup by sourcing common install functions and conditionally running motd_ssh. Improves error handling and messaging for debugging access during container initialization.
2025-11-17 14:22:48 +01:00
CanbiZ
82439d30cd Add msg_dev function for dev mode messaging
Introduces a new msg_dev function in core.func to standardize development/debugging messages. Updates build.func to use msg_dev for clearer dev mode output, replacing previous msg_custom and msg_info usages for MOTD/SSH setup and container debugging steps.
2025-11-17 14:22:22 +01:00
CanbiZ
ee5dc898f9 Update build.func 2025-11-17 14:00:52 +01:00