Commit 2737cd0b authored by Romain Courteaud's avatar Romain Courteaud

Do not allow buildout to delete ssh private key.

It prevents data loss while upgrading partition.
parent c6c360a6
...@@ -75,7 +75,6 @@ recipe = plone.recipe.command ...@@ -75,7 +75,6 @@ recipe = plone.recipe.command
stop-on-error = true stop-on-error = true
command = ${dropbear-output:keygen} -t $${:type} -s 2048 -f $${:key} command = ${dropbear-output:keygen} -t $${:type} -s 2048 -f $${:key}
key = $${directory:ssh}/$${:_buildout_section_name_} key = $${directory:ssh}/$${:_buildout_section_name_}
location = $${:key}
type = rsa type = rsa
[{{ slave_reference }}-backup-public_key] [{{ slave_reference }}-backup-public_key]
......
...@@ -234,7 +234,7 @@ mode = 0644 ...@@ -234,7 +234,7 @@ mode = 0644
[template-pullrdiffbackup] [template-pullrdiffbackup]
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-pullrdiffbackup.cfg.in url = ${:_profile_base_location_}/instance-pullrdiffbackup.cfg.in
md5sum = 3b1974f3a344fc1c1d86ec4ec44ae2ff md5sum = 2de3f1082b1e14610c3ad7109d158e9f
output = ${buildout:directory}/template-pullrdiffbackup.cfg output = ${buildout:directory}/template-pullrdiffbackup.cfg
mode = 0644 mode = 0644
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment