From 4cb5a894d2195e85972962d28837f98576dfb2dd Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 23 Jan 2019 16:15:27 -0500 Subject: [PATCH] Fix syncfiles when node points at foreign node Foreign node is unable to correctly relay to appropriate service node without username. This is similar to the updatenode problem, but occurs in a mismatch dhcp offer. --- 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 ff31ca2c5..559d1ca52 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'], node => [$node], arg => $args, env => $env }, $callback); + $subreq->({ command => ['xdcp'], username => 'root', node => [$node], arg => $args, env => $env }, $callback); } return 1; }