From sir_june at yahoo.com Tue Jul 6 18:24:56 2010 From: sir_june at yahoo.com (Sir June) Date: Tue, 6 Jul 2010 11:24:56 -0700 (PDT) Subject: multiple OS on kickstart server Message-ID: <886399.19202.qm@web65714.mail.ac4.yahoo.com> Hi, Finally, I got my kickstart server to work. I have RHEL5 set and configured. I was able to install a system via PXE. I have the following configured DHCP and HTTP. I also have /tftpboot where I copied the config files from RHEL5 source. Now i want to also have Fedora12 on it. I copied Fedora12 to htdocs/fedora12, changed /tftpboot/pxelihux.cfg/default with : append initrd=initrd.img ramdisk_size=9216 noapic acpi=off ks=http://192.168.99.10/fedora12/fedora12-ks.cfg and when i started PXE on the client machine, it popped with image not found. something like it can't proceed with the installation. I figured out that its because my /tftpboot/* files came from RHEL5. How do i set to have multiple OS (RHEL and Fedora) on my kickstart server such that I can install Fedora on the other target and RHEL on the other one. thanks, Sir June From chip.shabazian at bankofamerica.com Tue Jul 6 20:19:56 2010 From: chip.shabazian at bankofamerica.com (Shabazian, Chip) Date: Tue, 06 Jul 2010 13:19:56 -0700 Subject: multiple OS on kickstart server In-Reply-To: <886399.19202.qm@web65714.mail.ac4.yahoo.com> References: <886399.19202.qm@web65714.mail.ac4.yahoo.com> Message-ID: You simply need to copy the initrd.img and vmlinuz from the Fedora 12 install media to your tftp server, and reference it in the config file in pxelinux.cfg. If you are using default for everything, then you will need to make it an option that the user must manually select. Best practice would be to use a config file that refers to the system you are trying to build. Example: Fedora 12 initrd.img and vmlinuz exist in /tftpboot/linux-install/fedora12 IP of System to be built is 192.168.1.1 Config file (IP in hex) is /tftpboot/pxelihux.cfg/C0A80101 Contents of config file: default myfedora12system label myfedora12system kernel fedora12/vmlinuz append initrd=fedora12/initrd.img ramdisk_size=9216 noapic acpi=off ks=http://192.168.99.10/fedora12/fedora12-ks.cfg Chip -----Original Message----- From: kickstart-list-bounces at redhat.com [mailto:kickstart-list-bounces at redhat.com] On Behalf Of Sir June Sent: Tuesday, July 06, 2010 11:25 AM To: kickstart-list at redhat.com Subject: multiple OS on kickstart server Hi, Finally, I got my kickstart server to work. I have RHEL5 set and configured. I was able to install a system via PXE. I have the following configured DHCP and HTTP. I also have /tftpboot where I copied the config files from RHEL5 source. Now i want to also have Fedora12 on it. I copied Fedora12 to htdocs/fedora12, changed /tftpboot/pxelihux.cfg/default with : append initrd=initrd.img ramdisk_size=9216 noapic acpi=off ks=http://192.168.99.10/fedora12/fedora12-ks.cfg and when i started PXE on the client machine, it popped with image not found. something like it can't proceed with the installation. I figured out that its because my /tftpboot/* files came from RHEL5. How do i set to have multiple OS (RHEL and Fedora) on my kickstart server such that I can install Fedora on the other target and RHEL on the other one. thanks, Sir June _______________________________________________ Kickstart-list mailing list Kickstart-list at redhat.com https://www.redhat.com/mailman/listinfo/kickstart-list From jwildebo at redhat.com Wed Jul 7 09:23:14 2010 From: jwildebo at redhat.com (Jan Wildeboer) Date: Wed, 07 Jul 2010 11:23:14 +0200 Subject: multiple OS on kickstart server In-Reply-To: References: <886399.19202.qm@web65714.mail.ac4.yahoo.com> Message-ID: <4C344782.6070306@redhat.com> On 07/06/2010 10:19 PM, Shabazian, Chip wrote: > You simply need to copy the initrd.img and vmlinuz from the Fedora 12 > install media to your tftp server, and reference it in the config file > in pxelinux.cfg. Or you just install cobbler [1] :-) Jan [1] https://fedorahosted.org/cobbler/ "Cobbler is a Linux installation server that allows for rapid setup of network installation environments. It glues together and automates many associated Linux tasks so you do not have to hop between lots of various commands and applications when rolling out new systems, and, in some cases, changing existing ones." -- Jan H Wildeboer | EMEA Open Source Affairs | Office: +49 (0)89 205071-207 Red Hat GmbH | Mobile: +49 (0)174 33 23 249 Technopark II, Haus C | Fax: +49 (0)89 205071-111 Werner-von-Siemens-Ring 11 -15 | 85630 Grasbrunn | _____________________________________________________________________ Reg. Adresse: Red Hat GmbH, Technopark II, Haus C, Werner-von-Siemens-Ring 11 -15 85630 Grasbrunn, Handelsregister: Amtsgericht Muenchen HRB 153243 Geschaeftsfuehrer: Brendan Lane, Charlie Peters, Michael Cunningham, Charles Cachera _____________________________________________________________________ GPG Key: 3AC3C8AB Fingerprint: 3D1E C4E0 DD67 E16D E47A 9564 A72F 5C39 3AC3 C8AB From mats.o.karlsson at gmail.com Thu Jul 8 08:24:11 2010 From: mats.o.karlsson at gmail.com (Mats Karlsson) Date: Thu, 8 Jul 2010 10:24:11 +0200 Subject: multiple OS on kickstart server In-Reply-To: <4C344782.6070306@redhat.com> References: <886399.19202.qm@web65714.mail.ac4.yahoo.com> <4C344782.6070306@redhat.com> Message-ID: Or perhaps http://www.fastdeploy.com/ is something for you ? Kind regards Mats On Wed, Jul 7, 2010 at 11:23, Jan Wildeboer wrote: > On 07/06/2010 10:19 PM, Shabazian, Chip wrote: >> >> You simply need to copy the initrd.img and vmlinuz from the Fedora 12 >> install media to your tftp server, and reference it in the config file >> in pxelinux.cfg. > > Or you just install cobbler [1] :-) > > Jan > > [1] https://fedorahosted.org/cobbler/ > > "Cobbler is a Linux installation server that allows for rapid setup of > network installation environments. It glues together and automates many > associated Linux tasks so you do not have to hop between lots of various > commands and applications when rolling out new systems, and, in some cases, > changing existing ones." > > > -- > Jan H Wildeboer ? ? ? ? ? ? ? ?| > EMEA Open Source Affairs ? ? ? | Office: +49 (0)89 205071-207 > Red Hat GmbH ? ? ? ? ? ? ? ? ? | Mobile: +49 (0)174 33 23 249 > Technopark II, Haus C ? ? ? ? ?| Fax: ? ?+49 (0)89 205071-111 > Werner-von-Siemens-Ring 11 -15 | > 85630 Grasbrunn ? ? ? ? ? ? ? ?| > _____________________________________________________________________ > > Reg. Adresse: Red Hat GmbH, > Technopark II, Haus C, Werner-von-Siemens-Ring 11 -15 > 85630 Grasbrunn, Handelsregister: Amtsgericht Muenchen HRB 153243 > Geschaeftsfuehrer: Brendan Lane, Charlie Peters, Michael Cunningham, > Charles Cachera > _____________________________________________________________________ > > GPG Key: ? ? 3AC3C8AB > Fingerprint: 3D1E C4E0 DD67 E16D E47A ?9564 A72F 5C39 3AC3 C8AB > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list > From tu2Bgone at gmail.com Mon Jul 19 11:03:32 2010 From: tu2Bgone at gmail.com (tu2Bgone at gmail.com) Date: Mon, 19 Jul 2010 11:03:32 +0000 Subject: kickstart cobbler snippet and cheetah regex Message-ID: <00163645842ef1cf1a048bbb84a7@google.com> Hi list, Having issues with SNIPPETS and variables. I'm trying to use the mgmt_classes var to get the vlans my host belongs to and then I want to configure some bond aliases and bridges. The trouble I'm having is that I can't seem to use some variables like the examples show - and not being a python nor cheetah expert was wondering if someone could help me. I want to use a regex to get the vlans associated with this host. The mgmt_classes declaration looks like this: mgmt_classes : [ 'xen-dom0', 'vlans=575,573,596'] I want to get the 575,573,596 and stick it into a var that I can split on the ','. The problem I'm getting is that if I use the following I get a "expected string or buffer # File "/usr/lib/python2.6/site-packages/cobbler/templar.py", line 121, in render # data_out = t.respond() " (adding line numbers for clarity) 1 #if $getVar('$mgmt_classes') 2 #set $mclass = $getVar('$mgmt_classes') 3 #import re 4 test class: $mclass 5 #set $vlanpattern = $re.compile("[vlans=](((\d{3,4})+[,]?)+)") 6 #if $vlanpattern.search($mgmt_classes) 7 match 8 test class: $mclass 9 #else 10 print no match $mclass 11 #end if 12 #end if This is following the example in the cobbler snippets directory for 'network_config' where #set $vlanpattern = $re.compile("[a-zA-Z0-9]+[\.:][0-9]+") .. #if $vlanpattern.match($iname) is used. If I change 6 #if $vlanpattern.search($mgmt_classes) to 6 #if $vlanpattern.search('$mgmt_classes') The kickstart file compiles but the match does not occur. from the kickstart with "if $vlanpattern.search('$mgmt_classes')" : test class: ['xen-dom0', 'vlans=575,573,596'] print no match ['xen-dom0', 'vlans=575,573,596'] Anyone care to shed any light on it? The regex itself should work fine. Cheers, denmat -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris.ellam at dfs.de Wed Jul 28 13:16:55 2010 From: chris.ellam at dfs.de (chris.ellam at dfs.de) Date: Wed, 28 Jul 2010 15:16:55 +0200 Subject: RH6: Migration Tool for V5 to V6 Package include lists Message-ID: Hi Kickstarters, I am migrating my Kickstart environment from V5 to V6 and have a problem that my V5 package list include file no longer works. I have noted that the package groups have changed significantly and thought I'd first ask whether or not anybody has written some form of conversion tool to do this for me/us. Can anybody provide me/us with such a tool or is there another way to do this? Thanks, Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Server.packages Type: application/octet-stream Size: 818 bytes Desc: not available URL: -------------- next part -------------- DFS Deutsche Flugsicherung GmbH Am DFS-Campus 10 D - 63225 Langen Tel.: +49-(0)6103-707-0 Sitz der Gesellschaft: Langen/Hessen Zust?ndiges Registergericht: AG Offenbach am Main, HRB 34977 Vorsitzender des Aufsichtsrates: Prof. Klaus-Dieter Scheurle Gesch?ftsf?hrer: Dieter Kaden (Vors.), Ralph Riedle, Jens Bergmann Internet: http://www.dfs.de Public-Key der DFS: http://www.dfs.de/dfs/public_key.asc