From 418960eba36080e62941d9639c54dca3a576ed6f Mon Sep 17 00:00:00 2001 From: sakolish Date: Mon, 9 Jun 2008 13:45:55 +0000 Subject: [PATCH] Strip colons from mac address before sending to HMC - Line #211 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1614 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/PPCboot.pm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/perl-xCAT/xCAT/PPCboot.pm b/perl-xCAT/xCAT/PPCboot.pm index cb5f145f4..d94918f5c 100644 --- a/perl-xCAT/xCAT/PPCboot.pm +++ b/perl-xCAT/xCAT/PPCboot.pm @@ -11,6 +11,7 @@ use xCAT::Usage; # Parse the command line for options and operands ########################################################################## sub parse_args { + my $request = shift; my %opt = (); my $cmd = $request->{command}; @@ -204,6 +205,11 @@ sub rnetboot { C => $o->{client}, m => $o->{mac} ); + ##################################### + # Strip colons from mac address + ##################################### + $opt{m} =~ s/://g; + ##################################### # Force LPAR shutdown ##################################### @@ -336,3 +342,4 @@ sub rnetboot { +