Revision 954ff0d8
b/snf-deploy/snfdeploy/components.py | ||
---|---|---|
106 | 106 |
def initialize(self): |
107 | 107 |
f = "/root/.ssh/authorized_keys" |
108 | 108 |
return [ |
109 |
"test -e {0}.bak && cat {0}.bak >> {0}".format(f) |
|
109 |
"test -e {0}.bak && cat {0}.bak >> {0} || true".format(f)
|
|
110 | 110 |
] |
111 | 111 |
|
112 | 112 |
def test(self): |
Also available in: Unified diff