This fix is to avoid the issue described in #1942356
Cloud-init may not give permissions to the entire .ssh directory
which breaks sed --in-place operation, since it always create a
temporary file in the same directory.
New releases already use ssh-admin playbook instead of shell
commands.
Closes-Bug: #1942356
Change-Id: If2db45f09eface56b5b26646b97e1fdbfb7b5a3e
Signed-off-by: Douglas Viroel <dviroel@redhat.com>