|
Put the include statement in ->SystemDetails->Partitioning
that way it should work
Von: kickstart-list-bounces redhat com [mailto:kickstart-list-bounces redhat com] Im Auftrag von Gerrard Geldenhuis Gesendet: Freitag, 7. März 2008 15:10 An: Discussion list about Kickstart Betreff: Assigning machinename to volumegroup Hi I am trying to give my volume group
a more specific name in the following way: installtextnetwork --bootproto dhcpurl --url http://satellite.example.com/ty/rAhbfOeGlang en_GBlangsupport --default en_GB en_GBkeyboard mouse nonedevice scsi ccisszerombr yesclearpart --allbootloader --location mbrtimezone --utc Europe/Londonauth --enablemd5 --enableshadowselinux --disabledrebootfirewall --disabledskipx%packages --resolvedeps-telnetntp-bluez-utils-anacron@ Core-bluez-gnome%preHOSTNAME=$(grep HOSTNAME /tmp/netinfo|cut -d= -f2|cut -d. -f1)vgn=vg-$HOSTNAMEcat << EOF > /tmp/partinfopartition /boot --fstype=ext3 --size=200partition pv.01 --size=1000 --growpartition swap --size=1000 --maxsize=2000volgroup $vgn pv.01logvol / --vgname=$vgn --name=rootvol --size=5120logvol /home --vgname=$vgn --name=homevol --size=1024logvol /tmp --vgname=$vgn --name=tmpvol --size=1024logvol /var --vgname=$vgn --name=varvol --size=1536logvol /var/log --vgname=$vgn --name=logvol --size=30720logvol /var/tmp --vgname=$vgn --name=vartmpvol --size=1024EOF
However, I am still getting prompted
for the partitioning details. The script generates the file and the contents
looks fine. I am not sure what I am doing wrong.
I am using Satellite 5.0. I have
removed the partitioning details from the satellite interface and added it in
the pre-script. I assumed that anakonda would then as option B look into
/tmp/partinfo, but that does not seem to be the
case. Any pointers in the right direction
would be appreciated. Regards |