From: Andy Witter Date: Tue, 3 Dec 2019 19:07:59 +0000 (-0500) Subject: fix bug with private interface in ha.cf again X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f4babe5f4a5e7ca08605b233af76ea78334b33d5;p=contrib%2Fpines%2Fgenasys.git fix bug with private interface in ha.cf again --- diff --git a/templates/setup.sh b/templates/setup.sh index 6f3f354..9254a66 100755 --- a/templates/setup.sh +++ b/templates/setup.sh @@ -741,7 +741,7 @@ then sed -i "s/Primary_Interface/${PRIMARY_INTERFACE}/g" /etc/netplan/config.yaml sed -i "s/Private_Interface/${SECOND_PHYSICAL_INTERFACE}/g" /etc/network/interfaces sed -i "s/Private_Interface/${SECOND_PHYSICAL_INTERFACE}/g" /etc/netplan/config.yaml - sed -i "s/Private_Interface/${SECOND_PHYSICAL_INTERFACE}/g" /etc/ha.cf + sed -i "s/Private_Interface/${SECOND_PHYSICAL_INTERFACE}/g" /etc/ha.d/ha.cf sed -i "s/Primary_Interface/${PRIMARY_INTERFACE}/g" /etc/ha.d/haresources sed -i "s/Private_Interface/${SECOND_PHYSICAL_INTERFACE}/g" /etc/ha.d/haresources # configure firewall for lvs servers