mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-09-06 18:28:16 +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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user