-Together with recent xNBA patch to give a hyphenated mac address, make BOOTIF look just like syslinux

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6318 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-06-02 17:45:43 +00:00
parent 4ec411c79a
commit 790ddedf6c

View File

@ -203,7 +203,7 @@ sub setstate {
print $pcfg "imgfetch -n kernel http://".'${next-server}/tftpboot/'.$kern->{kernel}."\n";
print $pcfg "imgload kernel\n";
if ($kern->{kcmdline}) {
print $pcfg "imgargs kernel ".$kern->{kcmdline}.' BOOTIF=${netX/mac}'."\n";
print $pcfg "imgargs kernel ".$kern->{kcmdline}.' BOOTIF=01-${netX/machyp}'."\n";
} else {
print $pcfg "imgargs kernel BOOTIF=".'${netX/mac}'."\n";
}