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/branches/2.8@16463 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2013-05-29 18:08:48 +00:00
parent 8a476a618b
commit 41aa89541c

View File

@ -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});