Display progress during long kickstart %post script
Philip Rowlands
phr at doc.ic.ac.uk
Fri Mar 4 22:49:30 UTC 2005
On Fri, 4 Mar 2005, Daniel Segall wrote:
>--------------- snip --------------------
>
># Execute our post install
>echo " " >>/root/ks.log
>if [ -f /root/linux-postinstall.sh ]; then
> echo " * Executing Post-Install..." >>/root/ks.log
> echo " * Executing Post-Install..."
> chmod +x /root/linux-postinstall.sh
> exec /root/linux-postinstall.sh >>/root/ks.log
^^^^ What's this?
>else
> echo "Can't find linux-postinstall.sh." >>/root/ks.log
> echo "Can't find linux-postinstall.sh."
>fi
>
># We done.
>echo " * Post-Install complete. System rebooting." >>/root/ks.log
>echo " * Post-Install complete. System rebooting."
>chvt 1
>sleep 10
>exit 0
>#EOF
When you hit that exec, you're not in Kansas any more, and specifically
the final "Post-Install complete" section will never execute. The
original question was about dialog, but there's no mention in the
script??
Cheers,
Phil
More information about the Kickstart-list
mailing list