Make LVM export IP configurable
Change-Id: I0d67c9c2a774f19a20db8e4b3b8745e55d796148
This commit is contained in:
parent
c4da03274c
commit
436d9aa687
@ -741,7 +741,7 @@ function configure_samba {
|
||||
|
||||
for backend_name in ${MANILA_ENABLED_BACKENDS//,/ }; do
|
||||
iniset $MANILA_CONF $backend_name driver_handles_share_servers False
|
||||
iniset $MANILA_CONF $backend_name lvm_share_export_ip $HOST_IP
|
||||
iniset $MANILA_CONF $backend_name lvm_share_export_ip $MANILA_LVM_SHARE_EXPORT_IP
|
||||
done
|
||||
iniset $MANILA_CONF DEFAULT data_node_access_ip $HOST_IP
|
||||
fi
|
||||
|
@ -146,6 +146,7 @@ MANILA_MNT_DIR=${MANILA_MNT_DIR:=$MANILA_STATE_PATH/mnt}
|
||||
SMB_CONF=${SMB_CONF:-/etc/samba/smb.conf}
|
||||
SMB_PRIVATE_DIR=${SMB_PRIVATE_DIR:-/var/lib/samba/private}
|
||||
CONFIGURE_BACKING_FILE=${CONFIGURE_BACKING_FILE:-"True"}
|
||||
MANILA_LVM_SHARE_EXPORT_IP=${MANILA_LVM_SHARE_EXPORT_IP:-$HOST_IP}
|
||||
|
||||
# Options for replication
|
||||
MANILA_REPLICA_STATE_UPDATE_INTERVAL=${MANILA_REPLICA_STATE_UPDATE_INTERVAL:-300}
|
||||
|
Loading…
x
Reference in New Issue
Block a user