Fix problem where mknb failed to create a correct discovery configuration on rhel6 uefi environments

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12137 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-04-05 21:11:54 +00:00
parent ffa7c5942a
commit b03e4f2b33

View File

@ -212,7 +212,11 @@ sub process_request {
print $cfg "default=\"xCAT Genesis\"\ndelay=5\n\n";
print $cfg 'image=/tftpboot/xcat/genesis.kernel.'."$arch\n";
print $cfg " label=\"xCAT Genesis\"\n";
if ($lzma_exit_value) {
print $cfg " initrd=/tftpboot/xcat/genesis.fs.$arch.gz\n";
} else {
print $cfg " initrd=/tftpboot/xcat/genesis.fs.$arch.lzma\n";
}
print $cfg " append=\"quiet xcatd=".$normnets->{$_}.":$xcatdport destiny=discover $consolecmdline BOOTIF=%B\"\n";
close($cfg);
open($cfg,">","$tftpdir/xcat/xnba/nets/$net.uefi");