From 714dd4d7398157fffeee05813b0cec87b4840830 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Sun, 25 Oct 2026 13:46:35 +0100 Subject: [PATCH] iVentoy: stop early in an unprivileged container (#18179) --- install/iventoy-install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install/iventoy-install.sh b/install/iventoy-install.sh index 650eb6278..a9564d9e2 100644 --- a/install/iventoy-install.sh +++ b/install/iventoy-install.sh @@ -13,6 +13,12 @@ setting_up_container network_check update_os +if [[ "${CTTYPE:-1}" != "0" ]]; then + msg_error "iVentoy requires a privileged LXC container." + msg_error "Recreate the container with unprivileged=0." + exit 10 +fi + fetch_and_deploy_gh_release "iventoy" "ventoy/PXE" "prebuild" "latest" "/opt/iventoy" "iventoy-*-linux-$(arch_resolve x86_64-free arm64-trial).tar.gz" mkdir -p /opt/iventoy/{data,iso}