Fix issues with mknb

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10511 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2011-09-13 18:12:39 +00:00
parent 891eab7f59
commit b39f5d4f11

View File

@ -87,6 +87,7 @@ sub process_request {
}
return;
}
my $sshdir;
if ($invisibletouch) {
$sshdir="/.ssh";
} else {
@ -190,7 +191,7 @@ sub process_request {
open($cfg,">","$tftpdir/xcat/xnba/nets/$net.elilo");
print $cfg "default=xCAT Genesis\ndelay=5\n\n";
print $cfg 'image=xcat/genesis.kernel.'."$arch\n";
print $cfg " label=xCAT Genesis\n"
print $cfg " label=xCAT Genesis\n";
print $cfg " initrd=xcat/genesis.fs.$arch.gz\n";
print $cfg " append=\"quiet xcatd=".$normnets->{$_}.":$xcatdport destiny=discover $consolecmdline\n";
close($cfg);
@ -198,6 +199,7 @@ sub process_request {
print $cfg "#!gpxe\n";
print $cfg "chain http://${next-server}/tftpboot/elilo-x64.efi\n";
close($cfg);
}
}
}