Re: mention package groups as a parameter along with ks file ?

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

 



	¿Can you post your full kickstart to have a look on it?

	Have you checked the availability of each command used on VT2 while
kickstarting?

	Try to wrap your %pre script with something like:

	%pre
	(

	) 2>&1 | tee -a /tmp/ks-pre.log

	And have a look at ks-pre.log to check what's wrong.

	Regards
	Pablo


El mié, 02-07-2008 a las 13:02 +0530, linux brainstack escribió:
> under anaconda logs i see
> 
> * Running kickstart %pre script(s)
> * WARNING - Error code 32512 encountered running a kickstart %pre/%
> post script
> * All kickstart %pre script(s) have been run
> 
> Any clues on where i am messing up ?
> 
> Thanks !
> 
> On Wed, Jul 2, 2008 at 12:46 PM, linux brainstack
> <linux.brainstack@xxxxxxxxx> wrote:
>         There is no such file :(
>         Under /tmp i cant see such file.
>         
>         Regarding one package per line - i had added sed to replace ,
>         by \n so that should take care of it.
>         
>         Any clues on why the file is not created ?
>         
>         Thanks !
>         
>         
>         
>         On Wed, Jul 2, 2008 at 12:42 PM, Pablo Iranzo Gómez
>         <Pablo.Iranzo@xxxxxxxxxx> wrote:
>                        Check exact contents of /tmp/packagelist, and
>                 be sure to specify
>                 packages one per line ;)
>                 
>                        Regards
>                        Pablo
>                 
>                 
>                 El mié, 02-07-2008 a las 12:36 +0530, linux brainstack
>                 escribió:
>                 
>                 > Hi,
>                 > Thanks for your reply.
>                 >
>                 > I tried the below stuff with no success.. Am i doing
>                 something wrong ?
>                 > Under %pre i added -
>                 > cat /proc/cmdline |awk -F "packages=" '{print $2}' |
>                 sed 's/,/\n/g'  > /tmp/packagelist
>                 >
>                 > %include  /tmp/packagelist
>                 >
>                 > So this turns out like
>                 > If i specify
>                 > packages=@kde,@WEb Server"
>                 > Then /tmp/packagelist would have
>                 > @kde
>                 > @Web Server
>                 >
>                 > But these groups are not installed.
>                 >
>                 > Anaconda.cfg has
>                 > %packages --resolvedeps
>                 > grub
>                 > kernel-smp
>                 > e2fsprogs
>                 > lvm2
>                 >
>                 > %post
>                 >
>                 >
>                 > Any clues ?
>                 >
>                 > Thanks !
>                 >
>                 > On Wed, Jul 2, 2008 at 11:56 AM, Pablo Iranzo Gómez
>                 > <Pablo.Iranzo@xxxxxxxxxx> wrote:
>                 >                You can:
>                 >
>                 >                ask at %pre and do an %include of a
>                 file with each
>                 >         package requested
>                 >                ask at %post and trigger a yum
>                 install on each one
>                 >                pass them as kernel parameters like
>                 packages="package1
>                 >         package2
>                 >         package3 @group1" and then process at %pre
>                 the /proc/cmdline
>                 >         to write an
>                 >         extra packages section to be %include
>                 >
>                 >                Regards
>                 >                Pablo
>                 >
>                 >         El mié, 02-07-2008 a las 11:50 +0530, linux
>                 brainstack
>                 >         escribió:
>                 >
>                 >         > Hello,
>                 >         > I have created a kickstart file which has
>                 @ Base under
>                 >         Software.
>                 >         > But i want a way to mention additional
>                 package groups at
>                 >         runtime when
>                 >         > the kickstart is triggered.
>                 >         >
>                 >         > Is there any way ?
>                 >         > Either %post asking for package group name
>                 >         > OR
>                 >         > along with ks file path we add one more
>                 parameter
>                 >         packagegroup name ?
>                 >         >
>                 >         > Any Thoughts / Ideas ?
>                 >         >
>                 >         > Thanks.
>                 >
>                 >         >
>                 _______________________________________________
>                 >         > 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
>                 >
>                 > _______________________________________________
>                 > 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
>         
>         
> 
> _______________________________________________
> 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

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente

_______________________________________________
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