AW: Assigning machinename to volumegroup
Fuchs Andreas
andreas.fuchs at rtc.ch
Tue Mar 11 08:19:27 UTC 2008
Put the include statement in ->SystemDetails->Partitioning
that way it should work
Andreas
________________________________
Von: kickstart-list-bounces at redhat.com [mailto:kickstart-list-bounces at 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:
install
text
network --bootproto dhcp
url --url http://satellite.example.com/ty/rAhbfOeG
lang en_GB
langsupport --default en_GB en_GB
keyboard uk
mouse none
device scsi cciss
zerombr yes
clearpart --all
bootloader --location mbr
timezone --utc Europe/London
auth --enablemd5 --enableshadow
selinux --disabled
reboot
firewall --disabled
skipx
%packages --resolvedeps
-telnet
ntp
-bluez-utils
-anacron
@ Core
-bluez-gnome
%pre
HOSTNAME=$(grep HOSTNAME /tmp/netinfo|cut -d= -f2|cut -d. -f1)
vgn=vg-$HOSTNAME
cat << EOF > /tmp/partinfo
partition /boot --fstype=ext3 --size=200
partition pv.01 --size=1000 --grow
partition swap --size=1000 --maxsize=2000
volgroup $vgn pv.01
logvol / --vgname=$vgn --name=rootvol --size=5120
logvol /home --vgname=$vgn --name=homevol --size=1024
logvol /tmp --vgname=$vgn --name=tmpvol --size=1024
logvol /var --vgname=$vgn --name=varvol --size=1536
logvol /var/log --vgname=$vgn --name=logvol --size=30720
logvol /var/tmp --vgname=$vgn --name=vartmpvol --size=1024
EOF
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20080311/12cf436a/attachment.htm>
More information about the Kickstart-list
mailing list