mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
set --single-public-ip when lvs is used
(This used to be ctdb commit 292fff6eace39141591871e12f9a64e3441237be)
This commit is contained in:
parent
7265c713db
commit
686adea3fe
@ -74,7 +74,7 @@ CTDB_OPTIONS="$CTDB_OPTIONS --reclock=$CTDB_RECOVERY_LOCK"
|
||||
CTDB_OPTIONS="$CTDB_OPTIONS --no-lmaster"
|
||||
}
|
||||
[ -z "$CTDB_LVS_PUBLIC_IP" ] || {
|
||||
CTDB_OPTIONS="$CTDB_OPTIONS --lvs"
|
||||
CTDB_OPTIONS="$CTDB_OPTIONS --lvs --single-public-ip=$CTDB_LVS_PUBLIC_IP"
|
||||
}
|
||||
[ -z "$CTDB_SCRIPT_LOG_LEVEL" ] || {
|
||||
CTDB_OPTIONS="$CTDB_OPTIONS --script-log-level=$CTDB_SCRIPT_LOG_LEVEL"
|
||||
|
Loading…
Reference in New Issue
Block a user