2
0
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:
Jarrod Johnson
2019-01-23 16:34:21 -05:00
parent 4cb5a894d2
commit d46eec274c

View File

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