Sandor W. Sklar | 3 Feb 06:58
Picon
Favicon

Re: Changing items in /tftpboot/pxelinux.cfg/{MACADDRESS}

Sorry for responding to my own question, but I figured it out.

Setting --kopts="ksdevice=eth2" does work, but ONLY if you also  
specify the MAC address when you add the system.

	-s-

On Feb 1, 2008, at 5:35 PM, Sandor W. Sklar wrote:

>
> We've got a bunch of Sun X4200 M2 systems, and on these systems, the  
> device physically labeled "NET0" actually comes up as eth2, when  
> booted from any RH-like operating system.
>
> My problem is I can't determine a way of changing this value in the / 
> tftpboot/pxelinux.cfg/MA:CA:DD:RE:SS file that gets generated by  
> cobbler.  I wind up with an entry like ...
>
> 	append ksdevice=eth0 lang=  console=ttyS0,9600n8 text  
> syslog=xxxxx.xxxx.xxx:25150 kssendmac  initrd=/images/rhel5Server- 
> x86_64/initrd.img ks=http://xxxxx.xxxx.xxx/cblr/kickstarts_sys/xxxxx.xxx.xxx/ks.cfg
>
> I don't want to change the "default" file in there, because for most  
> of my systems, eth0 is the right device.  I tried setting -- 
> kopts="ksdevice=eth2" but that didn't make a difference in the  
> pxelinux.cfg/... file.
>
> Am I missing something obvious?  Thanks,
>
> 	-s-
(Continue reading)

Michael DeHaan | 4 Feb 16:29
Picon
Favicon

Re: Changing items in /tftpboot/pxelinux.cfg/{MACADDRESS}

Sandor W. Sklar wrote:
> Sorry for responding to my own question, but I figured it out.
>
> Setting --kopts="ksdevice=eth2" does work, but ONLY if you also 
> specify the MAC address when you add the system.
>
> -s-

Right. Either the mac or the ip is needed so that syslinux can pick up 
the right settings file.

You could also optionally add it to the profile and pick the profile 
from the boot menu (type menu while booting to activate the PXE menu).

If you want to default to ksdevice=link across the board, you can change 
that value in /var/lib/cobbler/settings

--Michael

RE: Changing items in/tftpboot/pxelinux.cfg/{MACADDRESS}

IIRC, you can also do ksdevice=link, and it will pick whichever network
interface is live.

-Darrick

-----Original Message-----
From: et-mgmt-tools-bounces@...
[mailto:et-mgmt-tools-bounces@...] On Behalf Of Sandor W. Sklar
Sent: Saturday, February 02, 2008 11:59 PM
To: Fedora/Linux Management Tools
Subject: Re: [et-mgmt-tools] Changing items
in/tftpboot/pxelinux.cfg/{MACADDRESS}

Sorry for responding to my own question, but I figured it out.

Setting --kopts="ksdevice=eth2" does work, but ONLY if you also  
specify the MAC address when you add the system.

	-s-

On Feb 1, 2008, at 5:35 PM, Sandor W. Sklar wrote:

>
> We've got a bunch of Sun X4200 M2 systems, and on these systems, the  
> device physically labeled "NET0" actually comes up as eth2, when  
> booted from any RH-like operating system.
>
> My problem is I can't determine a way of changing this value in the / 
> tftpboot/pxelinux.cfg/MA:CA:DD:RE:SS file that gets generated by  
> cobbler.  I wind up with an entry like ...
(Continue reading)

Sandor W. Sklar | 4 Feb 17:11
Picon
Favicon

Re: Changing items in/tftpboot/pxelinux.cfg/{MACADDRESS}


On Feb 4, 2008, at 5:44 AM, Waller, Darrick J (US SSA) wrote:

> IIRC, you can also do ksdevice=link, and it will pick whichever  
> network
> interface is live.

Oh, that would be totally excellent.  I'll try that out, thanks!

	-s-

Gmane