mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-10-28 02:00:14 +01:00
iVentoy: stop early in an unprivileged container (#18179)
This commit is contained in:
committed by
GitHub
parent
f52c8e1ea4
commit
714dd4d739
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user