From 5cd90ee53d81c41718c8a6aed165ca936eff1d88 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 7 May 2010 15:02:24 +0000 Subject: [PATCH] -Fix divide by zero err in xnba plugin git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6027 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/xnba.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/xnba.pm b/xCAT-server/lib/xcat/plugins/xnba.pm index e3f922ecc..ab80d62c9 100644 --- a/xCAT-server/lib/xcat/plugins/xnba.pm +++ b/xCAT-server/lib/xcat/plugins/xnba.pm @@ -203,9 +203,9 @@ 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=${netX/mac}\n"; + print $pcfg "imgargs kernel ".$kern->{kcmdline}.' BOOTIF=${netX/mac}'."\n"; } else { - print $pcfg "imgargs kernel BOOTIF=${netX/mac}\n"; + print $pcfg "imgargs kernel BOOTIF=".'${netX/mac}'."\n"; } if ($kern->{initrd}) { print $pcfg "imgfetch http://".'${next-server}'."/tftpboot/".$kern->{initrd}."\n";