[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: %include, list-harddrives and rhAS21



Jason, You've got luck!

But in AS21 (even in AS21upd2) anaconda throws out the following error,
when I use

%include /tmp/partinfo

in my ks.cfg:

Traceback (innermost last):
  File "/usr/bin/anaconda", line 637 in ?
    installClass.setInstallData(id)
  File "/usr/lib/anaconda/kickstart.py", line 839, in setInstallData
    self.readKickstart(id, self.file)
  File "/usr/lib/anaconda/kickstart.py", line 839, in readKickstart
    if handlers[args[0]]:
Keyerror: %include
install exited abnormally
...

So I hope there has sb else any good ideas for me.

Thanks for any help in advance.

Thomas.

Zitat von Jason Holland <jholland cs uh edu>:

> 
> Thomas,
>   I use RHAW 2.1 and %include /tmp/clearpart works fine for me in my
> ks.cfg file.  That file is something I generate in a %pre section, but at
> least I can say that the %include works.  I believe AW and AS are nearly
> the same.  All I do in my %pre section is this
> 
> partitions="`grep sda1 /proc/partitions`"
> if [ "$partitions" ]; then
>         echo "clearpart --all" > /tmp/clearpart
> else
>         echo "clearpart --initlabel" > /tmp/clearpart
> fi
> 
> Yes, its ugly, but it works for us.  :)
> 
> Jason P Holland
> Texas Learning and Computation Center
> http://www.tlc2.uh.edu
> University of Houston
> Philip G Hoffman Hall rm 207A
> tel: 713-743-4850
> cell: 281-451-5991
> 
> >Hello list,
> >
> >I tried to use a
> >
> >%include /tmp/partinfo in my RedHat Advanced Server Config (based on
> >RH7.2)
> >but anaconda fails.
> >
> >Does sb. have a solution for this problem,
> >and how to include list-harddrives (from anaconda-8.0 or later)
> >within RH7.2 or Advanced Server?
> >
> >Thanks for any help in advance.
> >
> >Thomas.
> >
> >--
> >Thomas Baumann // Postfach 110115 // D-64216 Darmstadt // <tom tiri li>
> >
> 
> 
> 


-- 
Thomas Baumann // Postfach 110115 // D-64216 Darmstadt // <tom tiri li>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]