From eebe399699ae4b344a85ad970dd440f7b2e9adc4 Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Mon, 7 May 2012 07:07:03 +0000 Subject: [PATCH] fix bug 3519426: FB:rspconfig network=ip,host,gateway,netmask can't work git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12542 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/blade.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/blade.pm b/xCAT-server/lib/xcat/plugins/blade.pm index eea179acb..ea7789b8f 100644 --- a/xCAT-server/lib/xcat/plugins/blade.pm +++ b/xCAT-server/lib/xcat/plugins/blade.pm @@ -4373,6 +4373,9 @@ sub network { if (!$ip and !$host and !$gateway and !$mask) { return([1,"No changes specified"]); } + if ($mpa ne $node) { + $host = undef; + } } else { if ( $value !~ /^\*$/) {