[CentOS] kickstart %pre help on C5.4
Kwan Lowe
kwan.lowe at gmail.com
Tue Jan 12 19:57:24 UTC 2010
On Tue, Jan 12, 2010 at 2:38 PM, Alan McKay <alan.mckay at gmail.com> wrote:
> 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
[snip]
> select STDISK in yes no
> do
> [ "$STDISK" != "" ] && break
> done
> PS3=$SAVEPS3
> echo "# nothing" > /tmp/part-include
I'm not using any %pre, but have lots of %post scripts. None seem to
work unless I put it all on one line. Even using the line continuation
character fails.
For example, this fails:
DISABLE_LIST="pcscd sendmail bluetooth"
for item in ${DISABLE_LIST}; do
chkconfig ${item} off
done
But this works:
..
for item in ${DISABLE_LIST}; do chkconfig ${item} off; done
More information about the CentOS
mailing list