defect 3297886: fix the issue that handling the variable in the dir of statemnt attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9539 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
27c4bcbbe4
commit
45372b5a4b
@ -579,7 +579,7 @@ sub mknetboot
|
||||
}
|
||||
if(grep /\$|#CMD/, $dir) {
|
||||
$dir = xCAT::SvrUtils->subVars($dir, $node, 'dir', $callback);
|
||||
$dir = ~ s/\/\//\//g;
|
||||
$dir =~ s/\/\//\//g;
|
||||
}
|
||||
if($server) {
|
||||
$server = xCAT::SvrUtils->subVars($server, $node, 'server', $callback);
|
||||
|
@ -395,7 +395,7 @@ sub mknetboot
|
||||
}
|
||||
if(grep /\$|#CMD/, $dir) {
|
||||
$dir = xCAT::SvrUtils->subVars($dir, $node, 'dir', $callback);
|
||||
$dir = ~ s/\/\//\//g;
|
||||
$dir =~ s/\/\//\//g;
|
||||
}
|
||||
if($server) {
|
||||
$server = xCAT::SvrUtils->subVars($server, $node, 'server', $callback);
|
||||
|
Loading…
Reference in New Issue
Block a user