mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-09-03 08:48:23 +00:00
Fix non-hierarchical syncfiles
The change to fix hierarchical failed when the request did not go through XML serialization. Fix by putting into the proper structure.
This commit is contained in:
@@ -129,7 +129,7 @@ sub syncfiles {
|
||||
push @$args, "$::RCP";
|
||||
}
|
||||
my $env = ["DSH_RSYNC_FILE=$synclistfile"];
|
||||
$subreq->({ command => ['xdcp'], username => 'root', node => [$node], arg => $args, env => $env }, $callback);
|
||||
$subreq->({ command => ['xdcp'], username => ['root'], node => [$node], arg => $args, env => $env }, $callback);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user