[CentOS] kickstart %pre help on C5.4

Alan McKay alan.mckay at gmail.com
Tue Jan 12 19:38:34 UTC 2010


The following %pre script hangs on me - I get the little GUI window
that comes up and says "Running pre-install scripts" and it hangs
there

%pre
#!/bin/sh
# exec 1>&3
# exec > /dev/tty
# chvt 3
# exec < /dev/tty3 > /dev/tty3
# clear
SAVEPS3=$PS3
PS3="Use standard disk partitioning? "
STDISK=""
select STDISK in yes no
do
        [ "$STDISK" != "" ]     && break
done
PS3=$SAVEPS3
echo "# nothing" > /tmp/part-include






-- 
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of "In Defense of Food"


More information about the CentOS mailing list