WD=$(dirname $(readlink -f $0))
CUSTOMDIR="$WD/custom"
EG_VERSION="2.12.4"
-UBUNTU_CODENAME="xenial"
+UBUNTU_CODENAME="trusty"
LICENSE="$WD/License.txt"
TEMPLATEDIR="$WD/templates"
DEFAULT_PRIVATE_NET="10.0.1"
fi
-# configure firewall for lvs servers
-sed -i "s/eth1/$PRIMARY_IF/g" "/etc/network/iptables-rules.fw"
-# find secondary interface
-SECONDARY_IF=$(ls /sys/class/net |grep -v "lo" |grep -v "$PRIMARY_IF")
-sed -i "s/eth0/$SECONDARY_IF/g" "/etc/network/iptables-rules.fw"
-
ConfigLogging () { ### Configure logging for the cluster.
if ! cat /etc/hostname|grep -q logger
Config_Apache2_Default_SSL
a2ensite default-ssl.conf
fi
+ # configure firewall for lvs servers
+ sed -i "s/eth1/$PRIMARY_IF/g" "/etc/network/iptables-rules.fw"
+ # find secondary interface
+ SECONDARY_IF=$(ls /sys/class/net |grep -v "lo" |grep -v "$PRIMARY_IF")
+ sed -i "s/eth0/$SECONDARY_IF/g" "/etc/network/iptables-rules.fw"
+
fi