From fdb8261af23175a3d71a084220a6027598b58007 Mon Sep 17 00:00:00 2001 From: jjhua Date: Mon, 28 Feb 2011 08:31:53 +0000 Subject: [PATCH] remove the : from the mac for rhels git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8936 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/FSPbootseq.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/perl-xCAT/xCAT/FSPbootseq.pm b/perl-xCAT/xCAT/FSPbootseq.pm index 4d3da2f20..252bfe3b8 100644 --- a/perl-xCAT/xCAT/FSPbootseq.pm +++ b/perl-xCAT/xCAT/FSPbootseq.pm @@ -168,6 +168,10 @@ sub rbootseq { $mac = $m_t; } } + + if( $mac =~ /\:/) { + $mac =~ s/\://g; + } $parameter = "mac=$mac:speed=auto,duplex=auto,$o->{server},,$o->{gateway},$o->{client},$bootp_retries,$tftp_retries,$o->{netmask},$blksize"; }