mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
ctdb-scripts: Use "ctdb ip all" instead of "ctdb ip -n all"
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Amitay Isaacs <amitay@samba.org> Autobuild-Date(master): Fri Oct 23 06:44:45 CEST 2015 on sn-devel-104
This commit is contained in:
parent
94898dd5b0
commit
0ccf842e12
@ -159,7 +159,7 @@ case "$1" in
|
||||
# Construct a sed expression to take catdb output and produce pairs of:
|
||||
# server-IP client-IP
|
||||
# but only for the server-IPs that are hosted on this node.
|
||||
ctdb_all_ips=$(ctdb ip -n all | tail -n +2)
|
||||
ctdb_all_ips=$(ctdb ip all | tail -n +2)
|
||||
sed_expr=$(echo "$ctdb_all_ips" |
|
||||
awk -v pnn=$pnn 'pnn == $2 { \
|
||||
ip = $1; gsub(/\./, "\\.", ip); \
|
||||
|
Loading…
x
Reference in New Issue
Block a user