583 Commits

Author SHA1 Message Date
CanbiZ
27bb9e5192 Improve install log handling for containers
Enhances the build and error handler scripts to better manage installation logs. On install failure, the log is now copied from the container to the host for easier debugging. The error handler now saves the log inside the container's /root directory for later retrieval, improving traceability and support.
2025-11-04 17:10:28 +01:00
CanbiZ
b55e8f5f34 Improve logging and error handling with session IDs
Introduces a SESSION_ID variable for log file naming and tracking, updates log file paths to include timestamps and session IDs, and enhances error handling output to use custom message functions when available. Also improves log file management and user guidance for viewing logs, and refactors error handler to better support containerized environments.
2025-11-04 16:59:02 +01:00
CanbiZ
a6cdb474a1 Update build.func 2025-11-04 16:52:12 +01:00
CanbiZ
8ccd06b596 Refactor message output and improve SSH check logic
Replaces many msg_info calls with msg_custom for more consistent and expressive status messages in build.func. Refines SSH client detection in core.func to better distinguish local, subnet, and external connections, and adds additional warnings for external SSH usage.
2025-11-04 16:38:46 +01:00
CanbiZ
2ff12b1f01 Update build.func 2025-11-04 16:30:23 +01:00
CanbiZ
4577271e7d Prioritize app resource defaults and silence storage messages
App-declared CPU, RAM, and disk defaults now take precedence over default.vars only if they are higher, ensuring resource allocations favor app requirements. Additionally, informational output for storage configuration and default.vars creation has been silenced for less verbose operation.
2025-11-04 16:24:37 +01:00
CanbiZ
acbaa7ce7d improve pversion check
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-29 13:20:11 +01:00
CanbiZ
e97a1ec944 fixes
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-29 13:17:35 +01:00
CanbiZ
cb33e40562 Refactor build.func: Simplify GPU passthrough, add APT cacher check, remove var_ctid/var_ipv6_static from defaults
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-29 13:16:28 +01:00
CanbiZ
b6812877e5 Revert build.func optimization - restore working version from backup
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-29 12:50:19 +01:00
CanbiZ
cc40cd457c Optimize build.func: Add PVE/kernel version display, reorganize functions, remove duplicates
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-29 12:47:45 +01:00
CanbiZ
2a6569a6e3 add pve_version & kernel output
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-29 12:36:50 +01:00
CanbiZ
ddcd37a419 fixes
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-28 14:48:23 +01:00
CanbiZ
1070d0cdad remove debug output
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-27 10:29:12 +01:00
a4e8e1e44f Fix a bug while prining the LXC-ID during advanced install.
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-24 09:17:44 +02:00
CanbiZ
f8a3b889be Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-24 09:11:02 +02:00
CanbiZ
dae2223a38 Comment out debug output in create_lxc_container
Disabled various debug echo and msg_debug statements in the create_lxc_container function to reduce console output during normal operation. This helps keep logs cleaner while retaining the code for future debugging if needed.
2025-10-24 09:10:27 +02:00
55903a8d5e Fix Array out of bounds bug in build.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-24 09:06:02 +02:00
vhsdream
b3fcb5addf Tweak template search debug test to avoid unbound var
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-22 17:07:58 -04:00
CanbiZ
61e3721c1d Cleanup MSG's
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-22 13:52:17 +02:00
CanbiZ
3e31d59d82 Update build.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 15:54:36 +02:00
CanbiZ
9c9dc863a2 Update build.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 15:52:06 +02:00
CanbiZ
0c2382c2d7 Update build.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 15:48:44 +02:00
CanbiZ
ff3bd05452 Update build.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 15:40:09 +02:00
CanbiZ
bd58b2cbfd Improve LXC template selection and add alternative search
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
Refactors the logic for fetching available LXC templates and adds a fallback mechanism to prompt the user to select an alternative OS version if the desired template is not found. Enhances debugging output and improves robustness in template selection.
2025-10-21 15:35:19 +02:00
CanbiZ
5e6fa752c7 Update build.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 15:30:24 +02:00
CanbiZ
928c5b465d debug output
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 15:28:06 +02:00
CanbiZ
4e856c86a2 Update build.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 15:24:33 +02:00
CanbiZ
ff1db9c90e Update build.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 15:21:06 +02:00
CanbiZ
93f343fec5 fixes
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 15:17:30 +02:00
CanbiZ
e02643b6f8 fixes
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 15:12:11 +02:00
CanbiZ
78835a3903 Update build.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 15:06:39 +02:00
CanbiZ
6866830633 fixes
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 15:03:07 +02:00
CanbiZ
de7b985b88 Refine LXC template matching to exclude digits
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
Updated awk and grep patterns in create_lxc_container to match non-digit characters after TEMPLATE_SEARCH, instead of only dashes or underscores. This improves accuracy when filtering available and local LXC templates.
2025-10-21 14:55:37 +02:00
CanbiZ
934e9d31cc Improve LXC template path resolution logic
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
Adds a fallback to construct the template path if it is still unset but a valid template name exists. Refines template search patterns for both local and online templates, and removes redundant error handling for unresolved template paths.
2025-10-21 14:50:24 +02:00
CanbiZ
d6fee2e0ea remove fi
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 14:42:47 +02:00
CanbiZ
7e4a0018f8 Update build.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 14:41:31 +02:00
CanbiZ
814711b2a8 Refactor LXC container creation and template selection
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
Removes redundant success messages for storage selection, improves template filtering with stricter matching, and refactors LXC stack upgrade retry logic for better error handling and code clarity during container creation.
2025-10-21 14:39:30 +02:00
CanbiZ
7d8a42fe97 Filter and display available LXC container versions
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
Added a grep to ensure only valid version numbers are listed and improved the display of available versions with formatting. This enhances clarity and prevents non-version strings from appearing in the version selection.
2025-10-21 14:30:06 +02:00
CanbiZ
9b624944c7 Improve LXC template selection and cleanup hwaccel code
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
Enhanced the LXC container creation process to prompt for available template versions if the requested template is missing, allowing users to select from available options interactively. Also refactored the hardware acceleration setup function for better readability and consistency, and made minor whitespace and formatting adjustments.
2025-10-21 14:12:26 +02:00
CanbiZ
6b58ff689e fix pct options for var_version
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 14:03:53 +02:00
CanbiZ
faf3bc57bd test
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-19 13:01:57 +02:00
960fddb9ee Add docs for all files in /misc
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-10 11:18:59 +02:00
b006c4f74b Revert: Change Bridge detection to inlcude interface.vlan bridges as well
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-10 09:28:20 +02:00
d0b4fd9f5f Change Bridge detection to inlcude interface.vlan bridges as well
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-10 09:23:03 +02:00
CanbiZ
e7936a686a Fix NVIDIA passthrough logic in container build
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
Refactored the NVIDIA GPU passthrough configuration to ensure device entries and related settings are only added when /dev/nvidia* devices are present. This prevents passthrough configuration attempts when no NVIDIA devices are detected, improving reliability and error messaging.
2025-09-30 09:13:44 +02:00
CanbiZ
b0c436dd42 Update build.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-09-29 14:48:11 +02:00
592f98dfb7 Refactor Bridge description logic
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-09-29 14:12:56 +02:00
0d0f2c7d14 Refactor Bridge description logic
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-09-29 14:10:06 +02:00
CanbiZ
25c121ccaf Update build.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-09-29 11:58:06 +02:00