Revision 954ff0d8
ID | 954ff0d8274b2f2833e8eb78f082dfd6f87a49d3 |
deploy: Fix case where node doesn't have authorized_keys
Since we are inserting ssh keys, we first backup existing
authorized_keys and append them later to our uploaded file.
If authorized_keys did not exist, neither will authorized_keys.bak .
So `test -e` in the initialize method of SSH component will
fail and fabric will abort. Here we fix this case.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Files
- added
- modified
- copied
- renamed
- deleted