2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-06 10:18:20 +00:00

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.
This commit is contained in:
Jarrod Johnson
2019-01-23 16:15:27 -05:00
parent c7be8f3247
commit 4cb5a894d2

View File

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