Tell the cephadm binary deploying an smb service about the networks
this smb service will be binding to.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit
414300201aa726e9ce88c7219ddb4dfd0daf8f62)
'', force_ceph_image=True
)
config_blobs['service_ports'] = smb_spec.service_ports()
+ if smb_spec.bind_addrs:
+ config_blobs['bind_networks'] = smb_spec.bind_networks()
logger.debug('smb generate_config: %r', config_blobs)
self._configure_cluster_meta(smb_spec, daemon_spec)