Compare commits
No commits in common. "186b1a1a0e8ffb665e8dd357657d2f5c86c5019a" and "b6df57617b09c3f9c5938db0a3eb37dec1597c98" have entirely different histories.
186b1a1a0e
...
b6df57617b
@ -1390,17 +1390,16 @@ EOF'
|
|||||||
msg_warn "Skipping timezone setup – zone '$tz' not found in container"
|
msg_warn "Skipping timezone setup – zone '$tz' not found in container"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pct exec "$CTID" -- bash -c "$STD apt-get update && $STD apt-get install -y sudo curl mc gnupg2" || {
|
pct exec "$CTID" -- bash -c "apt-get update && apt-get install -y sudo curl mc gnupg2" || {
|
||||||
msg_error "apt-get base packages installation failed"
|
msg_error "apt-get base packages installation failed"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
msg_ok "Customized LXC Container"
|
msg_ok "Customized LXC Container"
|
||||||
|
|
||||||
if ! lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"; then
|
if ! lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/install/"$var_install".sh)"; then
|
||||||
exit $?
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function sets the description of the container.
|
# This function sets the description of the container.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user