Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
iface=$(ctdb_get_1_interface)
+setup_script_options <<EOF
CTDB_PARTIALLY_ONLINE_INTERFACES=yes
+EOF
ethtool_interfaces_down "$iface"
ifaces=$(ctdb_get_interfaces)
+setup_script_options <<EOF
CTDB_PARTIALLY_ONLINE_INTERFACES=yes
+EOF
ethtool_interfaces_down $ifaces
setup_bond $iface "None"
+setup_script_options <<EOF
CTDB_PARTIALLY_ONLINE_INTERFACES=yes
+EOF
ethtool_interfaces_down "$iface"
setup_bond $i "None"
done
+setup_script_options <<EOF
CTDB_PARTIALLY_ONLINE_INTERFACES=yes
+EOF
ethtool_interfaces_down $ifaces
setup
+setup_script_options <<EOF
CTDB_PARTIALLY_ONLINE_INTERFACES=yes
+EOF
iface=$(ctdb_get_1_interface)
ip link delete "$iface"
setup ()
{
setup_public_addresses
-
- export CTDB_PARTIALLY_ONLINE_INTERFACES=""
}
_tcp_connections ()