RE: Assigning machinename to volumegroup

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

 



Ok, any idea where I do includes for kickstarts generate via Satellite.

I tried it at the end of my post script but it did not do the trick...

Regards

> -----Original Message-----
> From: kickstart-list-bounces@xxxxxxxxxx [mailto:kickstart-list-
> bounces@xxxxxxxxxx] On Behalf Of Pablo Iranzo Gómez
> Sent: 07 March 2008 14:54
> To: Discussion list about Kickstart
> Subject: Re: Assigning machinename to volumegroup
> 
> 	Echo each line to some file in /tmp then, %include that file
> 
> 	Regards
> 	Pablo
> 
> El vie, 07-03-2008 a las 14:09 +0000, Gerrard Geldenhuis escribió:
> > 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
> >
> >
> > _______________________________________________
> > Kickstart-list mailing list
> > Kickstart-list@xxxxxxxxxx
> > https://www.redhat.com/mailman/listinfo/kickstart-list
> --
> 
> Pablo Iranzo Gómez (Pablo.Iranzo@xxxxxxxxxx)
> RHCE/Global Profesional Services Consultant Spain
> Phone: +34 645 01 01 49 (CET/CEST)
> GnuPG KeyID: 0xFAD3CF0D
> ---
> Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD,
> 28016 Madrid, Spain
> Dirección Registrada: Red Hat S.L., C/ Velazquez 63, Madrid 28001, Spain
> Inscrita en el Reg. Mercantil de Madrid - C.I.F. B82657941

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.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