On Tue, Jun 26, 2012 at 3:23 PM, Eric Chennells <eric(a)zymeworks.com> wrote:
Hello,
I have encountered this bug
https://bugzilla.redhat.com/show_bug.cgi?id=817116#c2 , where during PXE
install I get the following error:
"ERROR: The following problem occurred on line 0 of the kickstart file:
Unable to open input kickstart file: Could not open/read
file:///tmp/pre_install_network_config"
The above bugzilla page advises to use "old-style" networking in order to
bypass this bug. I think that old-style networking just means not defining
the MAC address of the system, is that correct? By not setting the MAC
address the kickstart says it is using "old-style". This does result in
the pxe install working fine. Which is good.
Typically that error occurs because no MAC that was entered match any
physical interfaces. Double check your MACs with what's on the
physical system. Falling back to the "old-school" method is not a
recommended solution nowadays.
The problem is that now my systems don't have MAC addresses set
and are
not being assigned the IP that I specified with --ip-address when defining
the system, the DHCP server is just handing out the next available IP.
Also no pxe file (/var/lib/tftpboot/pxelinux.cfg) is being created that
corresponds with the MAC address of the system (obviously sense it is not
aware of what the MAC should be).
Also, not sure if this is related, but I have set "pxe_just_once: 1" in
/etc/cobbbler/settings, but this seems to have no affect, and the
"netboot_enabled" is not being set to false after the first PXE.
If the kickstart is failing, it will never get to the line in %post
that triggers that. If your kickstarts are completing (using the old
school/dhcp only method) then that means your probably missing the
$SNIPPET('kickstart_done') line at the end of your %post. That snippet
is the piece that sends the signal back to cobblerd which disables
netbooting for a given system.