Commit Graph

556 Commits

Author SHA1 Message Date
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
CanbiZ
8538a6c107 Refactor GPU passthrough and detection logic
Simplifies and improves GPU device detection for Intel, AMD, and NVIDIA, consolidates configuration functions, and enhances permission handling for both privileged and unprivileged containers. Removes redundant helper functions, adds user prompts for multiple GPU types, and improves driver installation and verification steps. Also refactors USB and additional device passthrough setup for clarity and maintainability.
2025-09-29 11:02:27 +02:00
CanbiZ
856440fcd4 Update build.func 2025-09-29 10:51:05 +02:00
CanbiZ
633ca3edee Refactor GPU passthrough logic in build.func
Simplifies and streamlines GPU passthrough configuration for LXC containers, consolidating device detection, selection, and userland package installation. Reduces code duplication, improves readability, and adds direct verification steps for VAAPI and NVIDIA support after installation.
2025-09-29 10:48:25 +02:00
CanbiZ
d0a8f3a81b Update build.func 2025-09-29 10:21:12 +02:00
Michel Roegl-Brunner
49fceced69 Add Description field for Bridges 2025-09-26 13:20:38 +02:00
Michel Roegl-Brunner
5a59e2fa62 Add Description field for Bridges 2025-09-26 13:16:32 +02:00
Michel Roegl-Brunner
20b9bf8aa2 Add Description field for Bridges 2025-09-26 13:14:30 +02:00
Michel Roegl-Brunner
3ea8ed2a43 Add Description field for Bridges 2025-09-26 13:12:02 +02:00
Michel Roegl-Brunner
f6997adcdc Add Description field for Bridges 2025-09-26 13:08:43 +02:00
Michel Roegl-Brunner
055492bb56 Add Description field for Bridges 2025-09-26 13:07:04 +02:00
Michel Roegl-Brunner
6e05d3afc8 Add Description field for Bridges 2025-09-26 12:59:21 +02:00
Michel Roegl-Brunner
5d68b20a4a Add Description field for Bridges 2025-09-26 12:52:44 +02:00
Michel Roegl-Brunner
8d00d2c9db Add Description field for Bridges 2025-09-26 12:47:46 +02:00
CanbiZ
09055bf73e Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED 2025-09-24 09:29:42 +02:00
CanbiZ
721ba24191 Update build.func 2025-09-24 09:29:36 +02:00
CanbiZ
bcddaaba41 Update build.func 2025-09-24 08:57:11 +02:00
CanbiZ
09c2308b35 Update build.func 2025-09-24 08:56:59 +02:00
CanbiZ
fed24086ea Update build.func 2025-09-24 08:51:14 +02:00
CanbiZ
dfa6bcf9c7 Improve storage selection logic in build script
Adds checks to ensure the default.vars file exists before storage selection. Updates LXC container creation to skip storage selection if variables are already set, improving efficiency and reliability.
2025-09-24 08:42:53 +02:00
CanbiZ
3a49db2b9a Update build.func 2025-09-23 15:23:34 +02:00
CanbiZ
22118056ca Update build.func 2025-09-23 15:19:28 +02:00
CanbiZ
6b40cf6feb Update build.func 2025-09-23 15:00:41 +02:00