From f2499a17f45b514490ef414a1481d764bcf4a27b Mon Sep 17 00:00:00 2001 From: billwajda Date: Wed, 9 Jan 2013 18:49:02 +0000 Subject: [PATCH] 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 --- xCAT/postscripts/configeth | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT/postscripts/configeth b/xCAT/postscripts/configeth index 98a2fd301..41a10d970 100755 --- a/xCAT/postscripts/configeth +++ b/xCAT/postscripts/configeth @@ -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]); }