This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
BIND_NETWORK="192.168.5.0" | |
SHARED_VIP="192.168.5.30" | |
apt-get update | |
apt-get install -y pacemaker ntp | |
# Allow bind on a IP which is not yet defined on the system | |
echo 'net.ipv4.ip_nonlocal_bind=1' >> /etc/sysctl.conf | |
sysctl -p |