From b39f5d4f11e4fb20da17e0214e9d471b24e1d9f4 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 13 Sep 2011 18:12:39 +0000 Subject: [PATCH] Fix issues with mknb git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10511 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/mknb.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/mknb.pm b/xCAT-server/lib/xcat/plugins/mknb.pm index f0358a08b..5b628a4db 100644 --- a/xCAT-server/lib/xcat/plugins/mknb.pm +++ b/xCAT-server/lib/xcat/plugins/mknb.pm @@ -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); + } } }