RE: When was "include" directive introduced?

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

 



Hi Roman,

that looks decent. Have you tried it yet? I unfortunately can't modify
anything because then I'd lose support from my Vendor. So, sadly I'm forced
to use only what is supported with the standard tools that each verison of
RHEL comes with.

Cheers,

Christian

_________________
Christian Rohrmeier
Schering AG
Corporate IT - Infrastructure and Services
Computer Systems and Operations
System Administration - Research and Development
Tel +49 30 468 15794
Fax +49 30 468 95794


                                                                           
             "Lazarev, Roman"                                              
             <Roman.Lazarev@FM                                             
             R.COM>                                                     To 
             Sent by:                  "Discussion list about Kickstart"   
             kickstart-list-bo         <kickstart-list@xxxxxxxxxx>         
             unces@xxxxxxxxxx                                           cc 
                                       kickstart-list-bounces@xxxxxxxxxx,  
                                       anaconda-devel-list@xxxxxxxxxx      
             10.04.2006 15:58                                      Subject 
                                       RE: When was "include" directive    
                                       introduced?                         
             Please respond to                                             
              Discussion list                                              
              about Kickstart                                              
             <kickstart-list@r                                             
                edhat.com>                                                 
                                                                           
                                                                           




Thank you Christian! You confirmed my suspicions!

I was wondering if just including the following hack into
usr/lib/anaconda/kickstart.py could solve the "%include" issue for
RHEL21.

                        scriptInterp = arg

+           elif args and args[0] == "%include":
+               if len(args) < 2:
+                   raise RuntimeError, "Invalid %include line"
+               else:
+                   # read in the included file and set our where
appropriately
+                   where = self.readKickstart(id, args[1], where =
where)

            elif args and args[0] == "%packages":

Thanks,

Roman Lazarev
Fidelity Investment Management Technology
245 Summer Street V2E
Boston, MA 02210
(617) 563-1173


-----Original Message-----
From: kickstart-list-bounces@xxxxxxxxxx
[mailto:kickstart-list-bounces@xxxxxxxxxx] On Behalf Of
Christian.Rohrmeier@xxxxxxxxxxx
Sent: Monday, April 10, 2006 9:44 AM
To: Discussion list about Kickstart
Cc: kickstart-list@xxxxxxxxxx; kickstart-list-bounces@xxxxxxxxxx;
anaconda-devel-list@xxxxxxxxxx
Subject: Re: When was "include" directive introduced?



Hi Roman,

RHEL 2.1 (based on RH 7.3) doesn't support %include. Only RHEL 3 and 4
support it. I am guessing then that RH8 and newer also support it. I
have
to support RHEL 2.1, 3, and 4, and thus I unfortunately can't take
%include
for granted. My RHEL 2.1 KS files are a different than the rest. I
generate
them on-the-fly via a CGI script, so its not a big deal _now_, but it
used
to be a pain to always make exceptions for RHEL 2.1, where just nothing
is
standard and half the stuff you need missing.

Cheers,

-Christian

_________________
Christian Rohrmeier
Schering AG
Corporate IT - Infrastructure and Services
Computer Systems and Operations
System Administration - Research and Development
Tel +49 30 468 15794
Fax +49 30 468 95794




             "Lazarev, Roman"

             <Roman.Lazarev@FM

             R.COM>
To
             Sent by:                  <kickstart-list@xxxxxxxxxx>

             kickstart-list-bo         <anaconda-devel-list@xxxxxxxxxx>

             unces@xxxxxxxxxx
cc



Subject
             10.04.2006 15:38          When was "include" directive

                                       introduced?



             Please respond to

              Discussion list

              about Kickstart

             <kickstart-list@r

                edhat.com>









Hi ALL,


I'm working on an ESX server from VMware which uses anaconda +
Kickstart.
However it's anaconda version is quite archaic - I can't figure out the
version of anaconda. It has also been heavily hacked by folks from
VMware.
They say it is based on RH7.2  I mounted netstg1.img and did a grep on
"include" in "usr/lib/anaconda" but that didn't turn up any good
positives...
Maybe it just isn't there?


My question is: How long ago was "%include" directive introduced? Should
I
take it for granted?


Thanks much,


Roman Lazarev
Fidelity Investment Management Technology
245 Summer Street V2E
Boston, MA 02210
(617) 563-1173 _______________________________________________
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

_______________________________________________
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