Skip to content

Instantly share code, notes, and snippets.

View d4rkstar's full-sized avatar
😁
Curious about everything

Bruno Salzano d4rkstar

😁
Curious about everything
View GitHub Profile
#!/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