From d46eec274cbca97ae4c7dabdc4141bb731a6fc51 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 23 Jan 2019 16:34:21 -0500 Subject: [PATCH] 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. --- xCAT-server/lib/xcat/plugins/syncfiles.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/syncfiles.pm b/xCAT-server/lib/xcat/plugins/syncfiles.pm index 559d1ca52..66a7e0b4c 100644 --- a/xCAT-server/lib/xcat/plugins/syncfiles.pm +++ b/xCAT-server/lib/xcat/plugins/syncfiles.pm @@ -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; }