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/trunk@12138 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-04-05 21:12:08 +00:00
parent 4e8e9cc11d
commit aab44b34bd

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");