Commit 815d77d0 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

Testing production servers: new dedicated SSH key

Granted, it was lazy yet somewhat consistent to
use the same key as for the `root` user of normal tests.

The consequence was a major pain to remove it each time one
switches from the normal mode to the production server mode
and back. Of course, that really matters for developers of
the tests and of the production server mode itself.

--HG--
branch : stable
parent 780e14b76d48
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABlwAAAAdzc2gtcn
NhAAAAAwEAAQAAAYEAzpz0B9zsrgSk9iH5F2f1iZhaG0jE1AnVEmv/zyAmxbHOzrgmqvH/
D4Ce1SV3/xUYhwN5NM2ONcCfVbwmPoLyOuwB68jl4b1H99rq3/NQq0J+4OUieKCT2PjTj7
QyGnBpREyLwCeB2A6YdZWwn2HslFxU3y3WLvRorc9yGU+VpeaDkdWjHtdXtSuFGkVrVhDz
u4J/XRR6JbNBYwyaMuYdmt+jPHUUTF9JYiKB6oP5j9o4c7ErtFhDvOTqPy0m2BZyDEoluP
OZnDOapE00r+LvofOcQtu4+PNPLTX1xIhoNzpgJ1CKM2bE+K9jKocebSRwTARzK6hDAml2
+Z9C/pkdCS9zGN7P0NU2VfVGcUN4dnbr8EA/E2K7HBdDyE8FQuUChiRaWicMkXU9P6dOfc
8M9CaWw8Dm0Q32lUSI41dmxki/BldpqB4NtvbKuIYxk4NxfC97LFOu8unUxhwWlf+WPTdR
4pGb7CgTW8UBBSjPx1n5RYnp4CZg8QC76zVxKTQdAAAFmLVvd3O1b3dzAAAAB3NzaC1yc2
EAAAGBAM6c9Afc7K4EpPYh+Rdn9YmYWhtIxNQJ1RJr/88gJsWxzs64Jqrx/w+AntUld/8V
GIcDeTTNjjXAn1W8Jj6C8jrsAevI5eG9R/fa6t/zUKtCfuDlInigk9j404+0MhpwaURMi8
AngdgOmHWVsJ9h7JRcVN8t1i70aK3PchlPlaXmg5HVox7XV7UrhRpFa1YQ87uCf10UeiWz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dT0/p059zwz0JpbDwObRDfaVRIjjV2bGSL8GV2moHg229sq4hjGTg3F8L3ssU67y6dTGHBaV/5Y9N1HikZvsKBNbxQEFKM/HWflFiengJmDxALvrNXEpNB0= gracinet@purity.tombe.racinet.fr
......@@ -531,8 +531,9 @@ class ProductionHeptapod(Heptapod):
logger.info("All preparations done in %.2f seconds. "
"Proceeding with tests.", time.time() - start)
self.load_ssh_keys(key_name_mapping={self.group_owner.name: 'root',
})
self.load_ssh_keys(key_name_mapping={
self.group_owner.name: 'group_owner',
})
self.upload_ssh_pub_keys()
self.init_default_group()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment