Re: Restarting anaconda... how?

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

 



Note: my reply doesn't even make sense to me.  I hope it does for you
all!

Yeah - I tried to use %include, but there was a 'chicken vs. the egg'
situation - I had to put the %include before %pre, but anaconda barfed
because the include script didn't exist yet...  and I had somehow
determined that the include file was parsed at the same time that the
rest of the main kickstart config file was, so it wouldn't hve the
goodies that I generated in the %pre script...

On Fri, 2002-08-09 at 11:03, Philip Rowlands wrote:
> On 9 Aug 2002, Erik Williamson wrote:
> 
> >I've (re)written a little addition to anaconda which partitions the hard
> >disk by percentages, as opposed to set values - very handy as we have a
> >million differing machine setups here.  It is run in the %pre section,
> >where it partitions the disk, and then modifies /tmp/ks.cfg.
> 
> Sounds like a good reason to use %include. You could use a %pre script
> to write out a section of kickstart file to /tmp/partitions.ksinc, then
> use "%include /tmp/partitions.ksinc" in place of your partition info.
> 
> Unfortunately, %include does not work (for me), at least in RH7.3 (I
> haven't tried Limbo). Redhat - any advice?
> 
> 
> Cheers,
> 
> Phil
> 
> 
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/kickstart-list
-- 
e r i k   w i l l i a m s o n                     erik@xxxxxxxxxxxxxxxx
 system admin . department of computer science . university of calgary






[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux