changed check for delimeter in configeth
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14833 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
b52a7f7ee5
commit
f2499a17f4
@ -60,7 +60,7 @@ while ( $cnt <= $net_cnt ) {
|
||||
# eth0:1_0_0_0-255_255_0_0|network2,eth1:1_1_0_0
|
||||
# create array of networks for this nic
|
||||
foreach my $nic_networks (split(/,/,$nicnetworks)) {
|
||||
my @net = split(/:/,$nic_networks);
|
||||
my @net = split(/!/,$nic_networks);
|
||||
if ($net[0] eq $nic) {
|
||||
@nic_nets = split(/\|/,$net[1]);
|
||||
last;
|
||||
@ -70,7 +70,7 @@ foreach my $nic_networks (split(/,/,$nicnetworks)) {
|
||||
# get all nic ipaddress from $nicips: i.e. eth0:1.0.0.1|2.0.0.1,eth1:1.1.1.1
|
||||
# Then get all ips for this specific nic, i.e. eth0.
|
||||
foreach my $ips (split(/,/,$nicips)) {
|
||||
my @ip = split(/:/,$ips);
|
||||
my @ip = split(/!/,$ips);
|
||||
if ($ip[0] eq $nic ) {
|
||||
@nic_ips = split(/\|/,$ip[1]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user