1549 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
fe9c5d2285 fix(tools): remove partial file before fallback download attempt 2026-01-21 16:09:30 +01:00
CanbiZ (MickLesk)
665907592e fix(tools): add codeload.github.com fallback for complex tag names
- Primary URL github.com/archive/refs/tags/ tried first
- Fallback to codeload.github.com for tags with special chars (@scope/pkg@ver)
- Only encode @ in fallback URL, keep / unencoded for codeload compatibility
2026-01-21 15:59:06 +01:00
CanbiZ (MickLesk)
c2b890baa6 Improve validation and robustness in container scripts
Enhances timezone handling by mapping 'Etc/*' zones to 'host', adds stricter password validation (removing leading dashes and enforcing minimum length), and improves container ID validation. Adds storage space validation before container creation and when selecting storage. Implements retry logic and stale lock cleanup for template lock files to avoid stuck processes. Improves GitHub release fetching by adding a fallback to codeload.github.com for complex tag names.
2026-01-21 15:48:22 +01:00
CanbiZ (MickLesk)
eb4c45c9fe Big Merge -> build.func (VE) to VED Compared. 2026-01-21 14:44:57 +01:00
CanbiZ (MickLesk)
eb605f0c33 merge core from VE to VED 2026-01-21 14:35:32 +01:00
CanbiZ (MickLesk)
db5e26f4f1 merge tools.func from VE to VED 2026-01-21 14:30:44 +01:00
justin
9575fd7188
Make which & tar are installed for RHEL-based OSs 2026-01-18 15:45:22 -05:00
CanbiZ
24b46ee21c testing 2026-01-15 10:47:54 +01:00
CanbiZ
82053c5b70 refactor rustypaste and add alpine-tools 2026-01-15 10:04:43 +01:00
CanbiZ
5e8d2565c4 cleanup
cleanup
2026-01-15 09:36:29 +01:00
CanbiZ
8540bc3627 fixes 2026-01-14 15:49:44 +01:00
CanbiZ
17d04e2d1d fix space 2026-01-14 09:33:37 +01:00
CanbiZ
fed9fd9db8 fixes tag name github 2026-01-14 09:27:14 +01:00
CanbiZ
aef1cf79f3 nodejs binary method 2026-01-13 14:34:58 +01:00
MickLesk
46bb2db683 ui 2026-01-12 22:18:45 +01:00
MickLesk
82773d7b8b fix(devuan): Add console getty for LXC autologin
LXC containers use /dev/console, not tty1!
- pct console connects to /dev/console device
- Added explicit console entry in inittab for LXC
- tty1 autologin still works for direct access
- Fixes autologin not working in Devuan containers
2026-01-12 22:09:36 +01:00
MickLesk
3d6a5f58b0 fix: Multiple distro issues from testing
Devuan:
- Fixed sed syntax error: replaced -E with BRE, removed invalid [^$] pattern
- Simplified regex patterns for inittab autologin matching

openEuler:
- Added template patching to inject /etc/redhat-release before pct create
- This fixes 'error in setup task PVE::LXC::Setup::post_create_hook'
- Reverted to unprivileged container (privileged not needed with patch)

openSUSE:
- Added --gpg-auto-import-keys to zypper to avoid interactive GPG prompts
- This was causing the 15+ minute hangs during package manager init

Gentoo:
- Changed to use emerge-webrsync (http) instead of emerge --sync (rsync)
- webrsync is significantly faster than full rsync sync
- Install curl FIRST before other packages (required for install.func)
- Better error handling with separate curl check

Rocky Linux DNS issue:
- Not a script bug - container network/DNS not working
- User should check container gateway and DNS settings
2026-01-12 21:58:15 +01:00
MickLesk
b8afdab106 fix: Multi-distro LXC container fixes for autologin and package installation
- Rocky/AlmaLinux 10 (EL10): Version detection for DNF 5 with correct packages (langpacks-en instead of glibc-langpack-en), makecache refresh, fallback to minimal install
- openSUSE: Install ncurses-utils and terminfo-base, set TERM in /etc/profile.d and /etc/environment to fix 'unknown terminal type'
- Gentoo: Fixed template pattern to use underscore (-openrc_) instead of dash, special version handling
- openEuler: Set privileged container (var_unprivileged=0) to workaround PVE setup hook limitation
- Devuan: Enhanced sysvinit autologin with multiple inittab patterns, fallback console entry, telinit reload
- CentOS/all: Updated URLs from raw.githubusercontent.com to git.community-scripts.org
- General: Better error handling and removed duplicate code blocks
2026-01-12 21:34:58 +01:00
CanbiZ
47b4ea5c40 Improve locale and template handling for LXC builds
Adds explicit locale package installation and locale setup for Debian, Ubuntu, Devuan, RHEL-based, openSUSE, and openEuler containers to ensure proper locale generation on minimal templates. Refines template pattern matching for CentOS Stream and Gentoo, and deduplicates openSUSE handling. Also, refactors misc/core.func for consistent indentation and minor logic improvements.
2026-01-12 13:58:25 +01:00
CanbiZ
698a17089c fixes 2026-01-12 09:13:20 +01:00
CanbiZ
dfed41f70f Format 2026-01-12 08:55:45 +01:00
CanbiZ
37fdd4779b Get Features & Fixes from Upstream 2026-01-12 08:55:28 +01:00
CanbiZ
7129c0dbd9 Tools.func: Get Version from Upstream (VE) 2026-01-12 08:51:11 +01:00
MickLesk
15d22d7f98 filename fix 2026-01-06 20:24:31 +01:00
MickLesk
e06cd44584 2026-01-06 20:10:34 +01:00
Tobias
7c27cceec6 some more copyright 2026-01-06 12:43:41 +01:00
Tobias
c5786b9210 happ new year - well a bit late :D 2026-01-06 12:36:02 +01:00
Casey Jones
c11ddd0e2b add libmfx-gen1.2 for intel hwaccel 2025-12-28 10:48:56 -06:00
AlphaLawless
a104248244
update romm script - working now 2025-12-25 22:28:50 -03:00
MickLesk
92cbcd5132 fix: LXC distro compatibility issues
- Gentoo: Fix template pattern to match 'gentoo-current-openrc' naming
- openSUSE: Sanitize ANSI escape codes from MSG_INFO_SHOWN array keys
- Devuan: Use flexible runlevel matching for sysvinit autologin
- CentOS/RHEL: Add missing '-' before $TERM in agetty commands

Fixes reported issues:
- Gentoo template not found (wrong pattern '-current_')
- openSUSE 'not a valid identifier' error on msg_ok with color codes
- Devuan autologin failing due to strict runlevel pattern
- CentOS autologin improvements for LXC console
2025-12-24 14:27:38 +01:00
CanbiZ
699a3b3a8c merge from VE 2025-12-17 10:04:54 +01:00
CanbiZ
66c7b2e168 Update Hoodik build scripts and requirements
Increase default RAM to 4GB and disk to 20GB for Hoodik builds in scripts and metadata. Split frontend and backend build steps, add frontend build commands, and clean up build artifacts after installation. Update installation instructions and warnings to reflect new requirements and build times. Change default URLs to use HTTP instead of HTTPS and adjust systemd service working directory.
2025-12-10 07:52:51 +01:00
CanbiZ
7373ecfc32 Update build.func 2025-12-10 07:42:56 +01:00
CanbiZ
e3ac35fac2 Update passthrough.func 2025-12-10 07:42:09 +01:00
CanbiZ
dc7f5074a2 testing 2025-12-09 15:34:29 +01:00
pshankinclarke
dbd1b9c5d1 fix name collision 2025-12-08 17:30:04 -08:00
CanbiZ
4076b7e632 autologin 2025-12-08 15:15:42 +01:00
CanbiZ
dd0f7b96f8 reordner baks 2025-12-08 15:14:55 +01:00
CanbiZ
9e4d367415 Report container build failures to API before cleanup
Adds calls to post_update_to_api to notify the API of container build failures before prompting for container cleanup in both build and error handler scripts.
2025-12-08 15:12:31 +01:00
CanbiZ
877ac7875e bump from ve 2025-12-08 15:08:20 +01:00
CanbiZ
465b4d0d24 Update build.func 2025-12-08 09:24:18 +01:00
CanbiZ
231fb62891 Update build.func 2025-12-08 09:21:14 +01:00
CanbiZ
03a5149f50 merge from main 2025-12-08 09:17:21 +01:00
CanbiZ
49c87aecc4 Update tools.func 2025-12-05 15:37:51 +01:00
CanbiZ
f431d59f93 Improve update script generation for containers
The update script now uses the OS variable for OS-based containers instead of the app name, and the script source URL has been updated to use git.community-scripts.org. This ensures the correct update script is fetched for each container type.
2025-12-05 10:30:35 +01:00
CanbiZ
862f9bdb7e Update install.func 2025-12-04 16:12:05 +01:00
CanbiZ
a736445bcf Improve auto-login setup for LXC containers with systemd
Refines the configuration of getty services for auto-login in LXC containers. Adds explicit handling for console-getty.service (used in Fedora/RHEL) and container-getty@1.service (Debian/Ubuntu), ensuring proper override and enabling where necessary.
2025-12-04 15:48:06 +01:00
CanbiZ
4a6f783ddb Update build.func 2025-12-04 15:19:58 +01:00
CanbiZ
4ed0fa9697 Update build.func 2025-12-04 15:18:40 +01:00
CanbiZ
f799a11348 Refactor auto-login setup for various init systems
Simplifies and improves auto-login configuration for systemd, openrc, and sysvinit. Removes unnecessary service reloads and restarts during installation, and directly modifies configuration files where appropriate.
2025-12-04 15:08:09 +01:00