* Fix race.
This commit is contained in:
parent
f3bc98b001
commit
784083176a
1 changed files with 1 additions and 0 deletions
|
@ -72,6 +72,7 @@ in
|
|||
$client->succeed("chmod 600 /root/.ssh/id_dsa");
|
||||
|
||||
# Install the SSH key on the slaves.
|
||||
$client->waitForJob("network-interfaces");
|
||||
foreach my $slave ($slave1, $slave2) {
|
||||
$slave->succeed("mkdir -m 700 /root/.ssh");
|
||||
$slave->copyFileFromHost("key.pub", "/root/.ssh/authorized_keys");
|
||||
|
|
Loading…
Reference in a new issue