deploy-cache: refresh authorized_keys from id_rsa 27/27427/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 23 Jan 2017 22:39:34 +0000 (23:39 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 23 Jan 2017 22:46:33 +0000 (23:46 +0100)
commit759e7ec5f81cd312078f10c1d8a76ffcc9cef57b
treecb1bcff1501cc7f2f6aa13ebadb50a89c5469369
parent39019e8a11b727c9ffcc4d7eaeedf6318e8542f8
deploy-cache: refresh authorized_keys from id_rsa

When bootstrap cache is present, the cached id_rsa keypair is
copied to Fuel Master node after the initial packages are installed
(cobbler pp copies id_rsa.pub as /etc/cobbler/authorized_keys).

This leaves behind out-of-sync cobbler configuration, generated from
the fresh id_rsa.pub instead of the cached one.

While at it, also fix Fuel Master authorized_keys from ~/.ssh, which
is transferred via /etc/nailgun/settings.yaml to deployed nodes,
leading to nodes rejecting subsequent key-based ssh logins.

JIRA: ARMBAND-188
JIRA: ARMBAND-190

Change-Id: I58b45c9522b16c7d05dafcd1acaff4b8cc30013e
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
patches/opnfv-fuel/upstream-backports/0005-CI-deploy-cache-Store-and-reuse-deploy-artifacts.patch