Correct mistake in UUID based cmd script generator where a hyphen was omitted

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11751 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-03-05 18:33:40 +00:00
parent 2d42ffe517
commit 3737c6632b

View File

@ -136,7 +136,7 @@ sub mkwinlinks {
link "$installroot/autoinst/$node.cmd","$installroot/autoinst/$uuid.cmd";
#sadly, UUID endiannes is contentious to this day, tolerate a likely mangling
#of the UUID
$uuid =~ s/^(..)(..)(..)(..)-(..)(..)-(..)(..)-/$4$3$2$1-$6$5-$8$7/;
$uuid =~ s/^(..)(..)(..)(..)-(..)(..)-(..)(..)-/$4$3$2$1-$6$5-$8$7-/;
link "$installroot/autoinst/$node.cmd","$installroot/autoinst/$uuid.cmd";
}
}