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:
parent
03e418ee62
commit
ba7c29b62a
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user