write fsid to ceph.conf

This commit is contained in:
Paul Collins
2012-10-03 21:19:14 +13:00
parent f9de3aa4d8
commit 75d8f0feef
3 changed files with 4 additions and 2 deletions

View File

@@ -25,7 +25,8 @@ def install():
def emit_cephconf():
cephcontext = {
'mon_hosts': ' '.join(get_mon_hosts())
'mon_hosts': ' '.join(get_mon_hosts().sort()),
'fsid': utils.config_get('fsid'),
}
with open('/etc/ceph/ceph.conf', 'w') as cephconf: