Change to make the first passing test of clonevm -t

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7293 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-08-28 01:46:50 +00:00
parent 83ee8fa5db
commit 241d47f88d

View File

@ -1495,7 +1495,7 @@ sub clonevm {
return;
}
$volclonemap{$filename}=[$sourcevol,$volname];
$filename =~ s/^$node/$mastername/;
$filename =~ s/(.*\/)$node\./$1$mastername\./;
$_->setAttribute(file=>$filename);
}
foreach (keys %volclonemap) {