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

Re: Attempting customized network install, including ks.cfg



I've never had this sort of problem.. I will say that my pxelinux.cfg looks a little bit different. I use labels, and specifically the label as the default. Like this:

(the 3rd line is supposed to be one line, but it's wrapping).

label ks
kernel vmlinuz
append initrd.img lang= devfs=nomount ramdisk_size=7168 ks=nfs:10.0.0.1/path/to/kickstart/file ksdevice=eth0


I use ksdevice because our machines have more than one NIC on them and you have to specifiy which NIC you want to use to do the DHCP. Do you have more than one NIC on your box? If so, you might get the problem you mention.

James


-- James S. Martin RHCE (Red Hat Certified Engineer)


Mike Snitzer wrote:
Mike Snitzer (msnitzer plogic com) said:


On a slightly related note; on RH7.3 when I attempt to kickstart via PXE
or NFS kickstart w/ bootable media I get failures...

1) PXE kickstart:

the system boots and gets an IP from dhcp; pulls down the vmlinuz and
initrd.img... the pxelinux.0 and hex file for the dhcp-assigned IP located
in pxelinux.cfg directory specifies the location where the ks.cfg for the
node being build is found.

Therefore, the files in pxelinux.cfg which have contents like:

DEFAULT pxelinux.cfg/vmlinuz
APPEND ks=nfs:192.168.0.230:/tmp/build_daemons/LC1/ks.cfg initrd=pxelinux.cfg/initrd.img
PROMPT 1
TIMEOUT 30

that are supposed to pass the APPEND section to the installer are
seemingly NOT passing what they should.. or th einstaller is puking on
it.  Either way has anyone else seen this?


I wasn't clear... when the installer loads it attempts to go through the
same process that an nfs kickstart would; namely; the installer attempts
to get an IP from a dhcp server; and with that IP it would then pull down
the kickstart via NFS from the pxelinux.cfg specified location.

The problem I'm seeing is the system never gets a dhcp reply while in the
redhat installer... even though the system was able to get the right IP
from dhcp during the PXE boot process.  So the installer fails with unable
to find /tmp/ks.cfg (which results from not getting an IP that it could
use to pull the ks.cfg off of the nfs server).

Hopefully this is more clear, thanks.

Mike



_______________________________________________
Kickstart-list mailing list
Kickstart-list redhat com
https://listman.redhat.com/mailman/listinfo/kickstart-list








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