From 5c8c7c2a4d31345fd2744a5af2bc95bba46087ba Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 29 May 2013 18:08:08 +0000 Subject: [PATCH] Fix autoula windows scheme to use the delimiter for mac that windows prefers git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16462 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/perl/xCAT/Template.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server/lib/perl/xCAT/Template.pm b/xCAT-server/lib/perl/xCAT/Template.pm index c079d1411..b3d34af0c 100644 --- a/xCAT-server/lib/perl/xCAT/Template.pm +++ b/xCAT-server/lib/perl/xCAT/Template.pm @@ -355,6 +355,7 @@ sub windows_net_cfg { my $suffix = $ent->{mac}; my $mac = $suffix; $suffix = lc($suffix); + $mac =~ s/:/-/g; unless ($hoststab) { $hoststab = xCAT::Table->new('hosts',-create=>1); } my $ulaaddr = autoulaaddress($suffix); $hoststab->setNodeAttribs($node,{ip=>$ulaaddr});