mirror of
https://git.proxmox.com/git/pve-installer
synced 2025-04-28 12:51:31 +00:00
unconfigured: continue reboot after 30s if post-hook fails
Wait some time to allow checking for any error output to determine why the posthook might have failed but then continue with the reboot. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
0b961bc063
commit
abe5b80383
@ -255,7 +255,11 @@ elif [ $start_auto_installer -ne 0 ]; then
|
||||
echo "Starting automatic installation"
|
||||
|
||||
if /usr/bin/proxmox-auto-installer </run/automatic-installer-answers; then
|
||||
/usr/bin/proxmox-post-hook </run/automatic-installer-answers
|
||||
if ! /usr/bin/proxmox-post-hook </run/automatic-installer-answers; then
|
||||
echo "post installation hook failed to execute."
|
||||
echo "waiting 30s to allow gathering the error before reboot."
|
||||
sleep 30
|
||||
fi
|
||||
fi
|
||||
else
|
||||
echo "Starting the installer GUI - see tty2 (CTRL+ALT+F2) for any errors..."
|
||||
|
Loading…
Reference in New Issue
Block a user