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