[CentOS] Cannot %include in CentOS 5.5 kickstart

Tue Mar 15 14:29:25 UTC 2011
John Doe <jdmls at yahoo.com>

From: whitivery <co55-sy1t at dea.spamcon.org>

> I've previously used includes in CentOS 4.4 and they worked fine.
> But in  CentOS 5.5, trying to specify a driver disk via an include
> does not  work.

Dunno what is going on for you, but this works for me:
  ...
  %include /tmp/ks.net
  ...
  %pre --interpreter /usr/bin/bash
  ...
  chvt 3
  exec < /dev/tty3 > /dev/tty3
  /tmp/ks/ks_pre.sh | tee /tmp/ks_pre.log 2>&1
  chvt 1
  exec < /dev/tty1 > /dev/tty1

With the ks_pre.sh:
  ...
  cp -av xxx/ks.net /tmp/
  ...

JD