diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-01-23 23:39:34 +0100 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-01-23 23:46:33 +0100 |
commit | 759e7ec5f81cd312078f10c1d8a76ffcc9cef57b (patch) | |
tree | cb1bcff1501cc7f2f6aa13ebadb50a89c5469369 /upstream | |
parent | 39019e8a11b727c9ffcc4d7eaeedf6318e8542f8 (diff) |
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>
Diffstat (limited to 'upstream')
0 files changed, 0 insertions, 0 deletions