mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-10-09 12:15:21 +00:00
fix(telemetry): move 'configuring' transition to right after container creation
Validation status was persisting through container start, network check, and OS customization. Now transitions to 'configuring' immediately after create_lxc_container returns. Validation only covers storage/template/cluster checks as intended.
This commit is contained in:
+3
-3
@@ -3671,6 +3671,9 @@ $PCT_OPTIONS_STRING"
|
|||||||
|
|
||||||
create_lxc_container || exit $?
|
create_lxc_container || exit $?
|
||||||
|
|
||||||
|
# Transition to 'configuring' — container created, now setting up OS/userland
|
||||||
|
post_progress_to_api "configuring"
|
||||||
|
|
||||||
LXC_CONFIG="/etc/pve/lxc/${CTID}.conf"
|
LXC_CONFIG="/etc/pve/lxc/${CTID}.conf"
|
||||||
|
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
@@ -4038,9 +4041,6 @@ EOF'
|
|||||||
|
|
||||||
msg_ok "Customized LXC Container"
|
msg_ok "Customized LXC Container"
|
||||||
|
|
||||||
# Transition to 'configuring' — container install script is about to run
|
|
||||||
post_progress_to_api "configuring"
|
|
||||||
|
|
||||||
# Optional DNS override for retry scenarios (inside LXC, never on host)
|
# Optional DNS override for retry scenarios (inside LXC, never on host)
|
||||||
if [[ "${DNS_RETRY_OVERRIDE:-false}" == "true" ]]; then
|
if [[ "${DNS_RETRY_OVERRIDE:-false}" == "true" ]]; then
|
||||||
msg_info "Applying DNS retry override in LXC (8.8.8.8, 1.1.1.1)"
|
msg_info "Applying DNS retry override in LXC (8.8.8.8, 1.1.1.1)"
|
||||||
|
|||||||
Reference in New Issue
Block a user