Commit Graph

578 Commits

Author SHA1 Message Date
Romain PINSOLLE
b17aebea60 add snowshare 2025-10-30 10:56:46 +00:00
CanbiZ
acbaa7ce7d improve pversion check 2025-10-29 13:20:11 +01:00
CanbiZ
e97a1ec944 fixes 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 2025-10-29 13:16:28 +01:00
CanbiZ
b6812877e5 Revert build.func optimization - restore working version from backup 2025-10-29 12:50:19 +01:00
CanbiZ
cc40cd457c Optimize build.func: Add PVE/kernel version display, reorganize functions, remove duplicates 2025-10-29 12:47:45 +01:00
CanbiZ
2a6569a6e3 add pve_version & kernel output 2025-10-29 12:36:50 +01:00
CanbiZ
ddcd37a419 fixes 2025-10-28 14:48:23 +01:00
CanbiZ
1070d0cdad remove debug output 2025-10-27 10:29:12 +01:00
Michel Roegl-Brunner
a4e8e1e44f Fix a bug while prining the LXC-ID during advanced install. 2025-10-24 09:17:44 +02:00
CanbiZ
f8a3b889be Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED 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
Michel Roegl-Brunner
55903a8d5e Fix Array out of bounds bug in build.func 2025-10-24 09:06:02 +02:00
vhsdream
b3fcb5addf Tweak template search debug test to avoid unbound var 2025-10-22 17:07:58 -04:00
CanbiZ
61e3721c1d Cleanup MSG's 2025-10-22 13:52:17 +02:00
CanbiZ
3e31d59d82 Update build.func 2025-10-21 15:54:36 +02:00
CanbiZ
9c9dc863a2 Update build.func 2025-10-21 15:52:06 +02:00
CanbiZ
0c2382c2d7 Update build.func 2025-10-21 15:48:44 +02:00
CanbiZ
ff3bd05452 Update build.func 2025-10-21 15:40:09 +02:00
CanbiZ
bd58b2cbfd Improve LXC template selection and add alternative search
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 2025-10-21 15:30:24 +02:00
CanbiZ
928c5b465d debug output 2025-10-21 15:28:06 +02:00
CanbiZ
4e856c86a2 Update build.func 2025-10-21 15:24:33 +02:00
CanbiZ
ff1db9c90e Update build.func 2025-10-21 15:21:06 +02:00
CanbiZ
93f343fec5 fixes 2025-10-21 15:17:30 +02:00
CanbiZ
e02643b6f8 fixes 2025-10-21 15:12:11 +02:00
CanbiZ
78835a3903 Update build.func 2025-10-21 15:06:39 +02:00
CanbiZ
6866830633 fixes 2025-10-21 15:03:07 +02:00
CanbiZ
de7b985b88 Refine LXC template matching to exclude digits
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
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 2025-10-21 14:42:47 +02:00
CanbiZ
7e4a0018f8 Update build.func 2025-10-21 14:41:31 +02:00
CanbiZ
814711b2a8 Refactor LXC container creation and template selection
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
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
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 2025-10-21 14:03:53 +02:00
CanbiZ
faf3bc57bd test 2025-10-19 13:01:57 +02:00
Michel Roegl-Brunner
960fddb9ee Add docs for all files in /misc 2025-10-10 11:18:59 +02:00
Michel Roegl-Brunner
b006c4f74b Revert: Change Bridge detection to inlcude interface.vlan bridges as well 2025-10-10 09:28:20 +02:00
Michel Roegl-Brunner
d0b4fd9f5f Change Bridge detection to inlcude interface.vlan bridges as well 2025-10-10 09:23:03 +02:00
CanbiZ
e7936a686a Fix NVIDIA passthrough logic in container build
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 2025-09-29 14:48:11 +02:00
Michel Roegl-Brunner
592f98dfb7 Refactor Bridge description logic 2025-09-29 14:12:56 +02:00
Michel Roegl-Brunner
0d0f2c7d14 Refactor Bridge description logic 2025-09-29 14:10:06 +02:00
CanbiZ
25c121ccaf Update build.func 2025-09-29 11:58:06 +02:00
CanbiZ
43db95a38a Remove redundant uid from device config and update install script
Eliminates the unnecessary 'uid=0' parameter from device configuration in GPU passthrough setup for privileged containers. Also updates the viseron install script to remove the target directory argument from the fetch_and_deploy_gh_release call, aligning with changes in its usage.
2025-09-29 11:55:33 +02:00
CanbiZ
42c503d0d2 Update build.func 2025-09-29 11:47:25 +02:00
CanbiZ
de080793ca Refactor GPU passthrough configuration logic
Reworked the configure_gpu_passthrough function for improved clarity and maintainability. Device entries and permissions are now handled more consistently for both privileged and unprivileged containers, with clearer GID assignment and device indexing. Added more robust verification and messaging for GPU setup and access.
2025-09-29 11:27:45 +02:00
CanbiZ
6ca3cb4d77 Update build.func 2025-09-29 11:18:03 +02:00
CanbiZ
1b207c3c38 Update build.func 2025-09-29 11:12:29 +02:00