Commit Graph

9848 Commits

Author SHA1 Message Date
ethan
b7f769d1f4 refactor(cyberchef): use apt instead of apt-get 2026-04-28 21:23:23 +02:00
ethan
ac031e937f feat: Add CyberChef 2026-04-28 20:00:23 +02:00
CanbiZ (MickLesk)
8520c25ca4 Lock TERM to linux for LXC noVNC console
Append a guarded snippet to /root/.bash_profile that forces TERM=linux on physical LXC consoles (e.g. noVNC) for login shells. This prevents readline (8.2+) from querying CPR (ESC[6n) which can produce stray R;80R garbage; the change runs only for non-SSH sessions and detects /dev/console or /dev/ttyN. The block is only added if a __cs_console_term marker is not already present.
2026-04-28 15:47:30 +02:00
CanbiZ (MickLesk)
669d0d847f fix motd 2026-04-28 14:58:57 +02:00
CanbiZ (MickLesk)
9e30f95776 Update build.func 2026-04-28 13:49:44 +02:00
CanbiZ (MickLesk)
40f383df63 Update build.func 2026-04-28 13:45:34 +02:00
CanbiZ (MickLesk)
d9f8fee4e5 Set TERM=linux for console-getty.service
Create a systemd override for console-getty.service inside LXC containers to set Environment=TERM=linux (written to /etc/systemd/system/console-getty.service.d/pve-console-term.conf) instead of touching getty@tty1/serial-getty unit dirs. This targets the noVNC/LXC console behavior where console-getty.service, not getty@tty1, is used and prevents agetty cursor-position queries from corrupting the noVNC login prompt. Also remove the older workaround in create_lxc_container that forced 'cmode: console' in the LXC config, since the new override addresses the issue.
2026-04-28 11:35:45 +02:00
CanbiZ (MickLesk)
77a91b7f6e test motd
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 11:19:24 +02:00
CanbiZ (MickLesk)
7b520d8be3 mirrors for dnf systems
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 11:04:57 +02:00
CanbiZ (MickLesk)
bb762d7254 switch discord bot
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 10:56:16 +02:00
CanbiZ (MickLesk)
0984b7ecee lowercase os
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 10:43:20 +02:00
CanbiZ (MickLesk)
497f09934f add injected code for openeuler
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 10:37:09 +02:00
github-actions[bot]
757ba547a6 Delete storybook (ct) after migration to ProxmoxVE (#1763)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-28 07:50:42 +00:00
github-actions[bot]
b517af2ecd Delete coredns (ct) after migration to ProxmoxVE (#1762)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-28 07:50:27 +00:00
CanbiZ (MickLesk)
01ea69616b Update install.func 2026-04-27 16:40:19 +02:00
CanbiZ (MickLesk)
268eb07bb3 Make spinner robust and improve Gentoo bootstrap
Reset shell command hash in spinner and make sleep resilient to shells without redirected sleep, preventing stale PATH lookups and failures in background subshells. Improve Gentoo bootstrap by syncing portage (emerge-webrsync or emerge --sync), preferring binary packages (--getbinpkg --usepkg) before falling back to source emerge, and add a fallback fetcher: prefer curl but use wget if curl is unavailable; fail with a clear error if neither is present. Replace direct curl sourcing with a configurable _fetch command to support the wget fallback.
2026-04-27 16:17:08 +02:00
CanbiZ (MickLesk)
52765ca1e3 Update build.func 2026-04-27 15:44:55 +02:00
CanbiZ (MickLesk)
ee403a74d3 Update install.func 2026-04-27 15:31:14 +02:00
CanbiZ (MickLesk)
ca74918a3e Update install.func 2026-04-27 15:19:03 +02:00
CanbiZ (MickLesk)
2708b36416 Fix container locale, TERM and tty sizing
Add a forced container env (_ct_env) exporting LC_ALL/LANG=C.UTF-8 and DEBIAN_FRONTEND to ensure commands (apt, sed, locale-gen, getent, tz setup) run reliably in fresh templates that lack generated locales. Use the env when running pct exec for locale setup, timezone symlink, DNS checks, and apt installs.

Improve terminal handling: set TERM=xterm-256color only for SSH sessions by appending a guarded block to /root/.bashrc, disable /etc/profile.d/vte.{sh,csh} by renaming them to avoid CSI 6n prompt garbage on LXC/noVNC consoles, and add /etc/profile.d/00-lxc-term-size.sh to force a sane stty rows/cols when the pseudo-tty reports 0x0. These changes prevent locale-related errors and stray CSI responses in LXC containers.
2026-04-27 14:24:28 +02:00
CanbiZ (MickLesk)
7a8b8e56ca Update install.func 2026-04-27 14:18:07 +02:00
CanbiZ (MickLesk)
b994f6a2c0 Improve LXC getty autologin handling
Configure both container-getty@1 and console-getty to auto-login root with unified agetty options, ensuring either Proxmox noVNC (/dev/tty1) or pct/serial (/dev/console) works. Add stable _agetty_opts, write per-service override files, enable console-getty on distros that need it, and reload systemd. Disable vte profile scripts to avoid cursor-query noise on first prompt, restart only active getty services to avoid duplicates, and create /root/.hushlogin to suppress login messages.
2026-04-27 14:13:41 +02:00
CanbiZ (MickLesk)
5334accd1c Support non-apt OS, fix sysvinit autologin
Refine LXC container bootstrap and sysvinit autologin handling.

- Fix case branch formatting and change Debian-family check to an elif to avoid logic fall-through.
- Add a non-apt branch for Fedora/Rocky/Alma/CentOS/openEuler/openSUSE/Arch/Gentoo that sets the container timezone from the host and ensures curl is installed via the appropriate package manager.
- Improve sysvinit (/etc/inittab) auto-login changes: use more robust sed patterns, append a console autologin entry via heredoc, signal init to reload inittab before killing getty processes, and target getty processes more precisely to ensure proper respawn with new settings.
2026-04-27 14:04:39 +02:00
CanbiZ (MickLesk)
582eb5c718 add compare 2026-04-27 13:57:46 +02:00
CanbiZ (MickLesk)
c0af703716 Set C.UTF-8 locale for apt-based containers
Suppress perl/apt locale warnings by configuring C.UTF-8 for apt-based systems. The script now exports DEBIAN_FRONTEND=noninteractive and LC_ALL/LANG/LANGUAGE=C.UTF-8 when PKG_MANAGER==apt, and appends LC_ALL and LANG to /etc/environment if not present. This addresses cases where a container inherits an ungenerated host locale (e.g. Devuan) and ensures C.UTF-8, which is always available, is used.
2026-04-27 13:56:46 +02:00
CanbiZ (MickLesk)
f54fe96345 Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED 2026-04-27 13:55:42 +02:00
CanbiZ (MickLesk)
ac042d1388 fix preflight 2026-04-27 13:55:26 +02:00
github-actions[bot]
42e24ea2d5 chore: update app headers [skip ci] 2026-04-27 11:46:43 +00:00
CanbiZ (MickLesk)
796b79241c Add Arch Linux CT support and pacman integration
Add Arch Linux container support and integrate pacman into install utilities. New files: ct/archlinux.sh (container build/update script), install/archlinux-install.sh (install entrypoint), and json/archlinux.json (metadata). misc/install.func: detect_arch in detect_os, add pacman bootstrap, and implement pacman handlers for pkg_upgrade, pkg_install, pkg_remove, pkg_clean and package refresh; include openssh install path for pacman and provide a cleanup_lxc override to run pkg_clean. Enables creating/updating Arch Linux LXC containers and proper package manager handling.
2026-04-27 13:46:18 +02:00
CanbiZ (MickLesk)
c199428604 bump opensuse 2026-04-27 13:42:15 +02:00
CanbiZ (MickLesk)
bbd890bc3f Add telemetry pings & improve container install funcs
Bump Fedora template to 43 and enhance container installation tooling. Persist DIAGNOSTICS setting and introduce post_progress_to_api() to send lightweight telemetry pings from inside containers (fire-and-forget, enabled when DIAGNOSTICS=yes and RANDOM_UUID set). Harden package management flows: re-detect PKG_MANAGER when commands are missing, add apt mirror fallback logic (apt_update_safe) and more robust apt-cacher proxy parsing. Fix Debian 13 LXC root ownership bug (chown /) and add additional DNS/Git host checks (including api.github.com). Improve downloading and validation of tools.func, add multiple post_progress_to_api hooks to signal progress, and add two new install entrypoints (misc/main/install.func and misc/main/alpine-install.func) that consolidate network checks, OS updates, MOTD/SSH setup and container customization.
2026-04-27 13:40:30 +02:00
CanbiZ (MickLesk)
ad60c2cf10 fixes 2026-04-27 10:45:08 +02:00
CanbiZ (MickLesk)
8ae53f9a0c test authentik external storage 2026-04-27 09:48:53 +02:00
github-actions[bot]
ec8bd46436 Delete trek (ct) after migration to ProxmoxVE (#1747)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-26 06:49:11 +00:00
MickLesk
b2dc432ff3 feat: add gperf to Nagios installation dependencies 2026-04-25 23:03:02 +02:00
MickLesk
8e48a0c6b3 Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED 2026-04-25 22:56:04 +02:00
MickLesk
e109ac9286 feat: update Nagios installation and configuration scripts for improved paths and dependencies 2026-04-25 22:56:01 +02:00
github-actions[bot]
9e83316211 chore: update app headers [skip ci] 2026-04-25 20:43:37 +00:00
MickLesk
de34267e30 Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED 2026-04-25 22:43:18 +02:00
MickLesk
ca2d4691fe feat: add Nezha and Shiori installation scripts and JSON configurations 2026-04-25 22:43:10 +02:00
github-actions[bot]
10d3882984 chore: update app headers [skip ci] 2026-04-25 20:37:29 +00:00
MickLesk
69d6461db9 Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED 2026-04-25 22:37:11 +02:00
MickLesk
a271005a69 dev; nagios 2026-04-25 22:37:05 +02:00
github-actions[bot]
1118659b5b chore: update app headers [skip ci] 2026-04-25 20:24:06 +00:00
MickLesk
753dcdf00b Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED 2026-04-25 22:23:46 +02:00
MickLesk
c02704c235 dev: tolgee 2026-04-25 22:18:34 +02:00
github-actions[bot]
19bfcc7abd chore: update app headers [skip ci] 2026-04-25 20:16:14 +00:00
MickLesk
e8c64f4154 dev: dynacat 2026-04-25 22:15:51 +02:00
MickLesk
22e007a872 neko: add gpu flag 2026-04-25 21:54:18 +02:00
MickLesk
c22d79d244 fixes solidtime 2026-04-25 21:52:46 +02:00