Fixup path for corosync authkey

This commit is contained in:
James Page
2013-01-28 11:17:00 +00:00
parent ec0748635a
commit cb7e632c19

View File

@@ -59,8 +59,9 @@ def emit_base_conf():
# write the authkey
corosync_key = utils.config_get('corosync_key')
with open(corosync_key, 'w') as corosync_key_file:
with open('/etc/corosync/authkey', 'w') as corosync_key_file:
corosync_key_file.write(corosync_key)
os.chmod=('/etc/corosync/authkey', 0400)
def config_changed():