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
This commit is contained in:
jbjohnso 2012-05-24 20:39:14 +00:00
parent 03e418ee62
commit ba7c29b62a

View File

@ -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);
}
}