From ba7c29b62ac0b0915dcbd1ad733af0cf46e343b5 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 24 May 2012 20:39:14 +0000 Subject: [PATCH] Fix spacing issue in gateway append git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12934 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/slpdiscover.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/slpdiscover.pm b/xCAT-server/lib/xcat/plugins/slpdiscover.pm index 3cbbc5b99..107c8dcf0 100644 --- a/xCAT-server/lib/xcat/plugins/slpdiscover.pm +++ b/xCAT-server/lib/xcat/plugins/slpdiscover.pm @@ -204,7 +204,7 @@ sub setupIMM { } else { (my $sip,my $mask,my $gw) = xCAT_plugin::bmcconfig::net_parms($ip); my $cmd = "ifconfig eth0 -c static -i $ip -s $mask"; - if ($gw) { $cmd .= "-g $gw"; } + if ($gw) { $cmd .= " -g $gw"; } $ssh->cmd($cmd); } }