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

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

 



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

[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