diff --git a/xCAT-server/lib/xcat/plugins/hosts.pm b/xCAT-server/lib/xcat/plugins/hosts.pm index bb6ede0b6..11dbaade2 100755 --- a/xCAT-server/lib/xcat/plugins/hosts.pm +++ b/xCAT-server/lib/xcat/plugins/hosts.pm @@ -660,9 +660,7 @@ sub donics if (!$nicip) { next; } - #If there is one nicip in nicips, and it is regular expression - #for example: eth0!|\D+(\d+)\D+|10.80.1.($1*2+103)| - #Does not support: there is regular expression in multple nicips + #Only format for nicips:!||... or ! if ($nicip =~ /^\|\S*\|$/) { $nicip = xCAT::Table::transRegexAttrs($node, $nicip); }