write fsid to ceph.conf
This commit is contained in:
parent
f9de3aa4d8
commit
75d8f0feef
|
@ -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:
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
auth supported = none
|
||||
keyring = /etc/ceph/$cluster.$name.keyring
|
||||
mon host = {{ mon_hosts }}
|
||||
fsid = {{ fsid }}
|
||||
|
||||
[mon]
|
||||
keyring = /var/lib/ceph/mon/$cluster-$id/keyring
|
||||
|
|
Loading…
Reference in New Issue