-Switch syntax to one that works with current xNBA and will also be adopted in iPXE

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8163 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-11-15 16:47:13 +00:00
parent 9fe1ddcabe
commit 4637b46cbd

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=01-${netX/machyp}'."\n";
print $pcfg "imgargs kernel ".$kern->{kcmdline}.' BOOTIF=01-${netX/mac:hexhyp}'."\n";
} else {
print $pcfg "imgargs kernel BOOTIF=".'${netX/mac}'."\n";
}