2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-29 15:51:18 +00:00
This commit is contained in:
bybai
2017-07-12 02:11:50 -04:00
parent 255062580a
commit d273135b37

View File

@@ -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:<nic1>!<ip1>|<ip2>|... or <nic1>!<one regular expression>
if ($nicip =~ /^\|\S*\|$/) {
$nicip = xCAT::Table::transRegexAttrs($node, $nicip);
}