Re: DHCP client in anaconda

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

 



Hi,

Unfortunately,we are not permitted to touch anaconda code because it would probably bring about some license issues.
My temporary walkaround against dhcp request in anaconda is providing IP statically during network installation, below
is my pxe config:

DEFAULT test
LABEL test
KERNEL test/ks-RedHatEL-AS3-GA-i386z
APPEND utf8 nofb root=/dev/ram ip=172.20.3.26 netmask=255.255.0.0 method=nfs:172.20.3.3:/iso/RHEL/rhel3-ga ks=nfs:172.20.3.3:/testinstall/project/1.4.1/kickstart.RedHatEL-AS3/172.20.3.26-kickstart initrd=csm/ks-RedHatEL-AS3-GA-i386.gz ksdevice=eth0

But each command line passed to anaconda will be cut by kernel to no more than 256 chars, how can I extend the maximum line size passed to anaconda?

Yours Sincerely,
Luo Hao

IBM China Software Development Laboratory
Tel:86-10-82782244-3420 Mail:luohao@xxxxxxxxxx
Address: North Area, 8/F, Ying Chuang Building No.1, East Road, Shangdi, Haidian District Beijing 100085, PRC



Inactive hide details for Greg Morgan <drkludge@xxxxxxx>Greg Morgan <drkludge@xxxxxxx>


          Greg Morgan <drkludge@xxxxxxx>

          2004-12-07 16:28


To

Hao Luo/China/Contr/IBM@IBMCN

cc

anaconda-devel-list@xxxxxxxxxx

Subject

Re: DHCP client in anaconda

Hao Luo wrote:
> Hi,
>
> I have being devoted to investigating linux network installation via
> UUID(Universal Unique Identifier), unique for each IBM xSeries server.
>
> As I know, syslinux 2.07 has provided support of sending a dhcp request
> containing UUID infomation, which can be recogonized by dhcpd3.0. Do you
> have any idea of how to make dhcp client in anaconda send request with
> additional UUID infomation.

Hao,

I found your question interesting so I poked around some.  It looks like
Anaconda uses pump and not a dhcpclient.  I cannot tell, if pump would
allow you to retrieve a UUID. isys.py makes a call to isys.c via
pumpnetdevice.  You would want to look at /usr/include/pump.h for the
struct pumpNetIntf definition.  Files net.c and isys.c work with the
information returned from pump.  At this late hour it all looks
automagically to me.  I believe you will have to customize Anaconda to
obtain your desired functionality.  It looks like only part of the dhcp
information is used in Anaconda.  There are a couple of items for S390
in pumpNetIntf.  I don't know if that is the same as xSeries.

Have fun.

Greg

GIF image


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux