Compare commits

...

2 Commits

Author SHA1 Message Date
CanbiZ
186b1a1a0e Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED 2025-07-21 15:46:25 +02:00
CanbiZ
43816d79dc Update build.func 2025-07-21 15:46:23 +02:00

View File

@ -1390,16 +1390,17 @@ EOF'
msg_warn "Skipping timezone setup zone '$tz' not found in container"
fi
pct exec "$CTID" -- bash -c "apt-get update && apt-get install -y sudo curl mc gnupg2" || {
pct exec "$CTID" -- bash -c "$STD apt-get update && $STD apt-get install -y sudo curl mc gnupg2" || {
msg_error "apt-get base packages installation failed"
exit 1
}
fi
msg_ok "Customized LXC Container"
if ! lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/install/"$var_install".sh)"; then
return
if ! lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"; then
exit $?
fi
}
# This function sets the description of the container.