Re: Kickstart-list digest, Vol 1 #556 - 2 msgs

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

 



yup, in the %pre.  Here's a sample from our ks.cfg file.  We  fetch our
image and packages over http.

%pre --interpreter /usr/bin/python
import urllib, os
partition_script="/tmp/partition.py"
if not os.path.exists(partition_script):
	url="http://buildeserver/partition.py";
	urllib.urlretrieve(url, partition_script)
	os.system('chmod 755 ' + partition_script)
	os.system(partition_script)


deb


On Sun, 2002-09-29 at 23:33, Gopi wrote:
> but in which section of ks file i should use these commands?
> is it in pre% ? does kickstart accept it?
> 
> gopi
> 
> 
> > From: Debbie Mazurek <mazurekd@xxxxxxxxxxxxxxxx>
> > To: kickstart-list@xxxxxxxxxx
> > Subject: Re: Dynamic partitioning in kickstart
> > Date: 28 Sep 2002 12:11:42 -0600
> > 
> > Hi,
> > 
> > We have a similar situation, so we made a script that does it based on
> > percentages of the partitions.  You can take a look at the stuff here.
> > Its pretty customized to our situation, but it might help get you
> > started.
> > 
> > http://pages.cpsc.ucalgary.ca/~erik/BOTD/partitioning/index.html
> > 
> > cheers
> > debbie
> > 
> > On Fri, 2002-09-27 at 19:39, Gopi wrote:
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/kickstart-list






[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