diff --git a/image/environment/default.startup.yaml b/image/environment/default.startup.yaml new file mode 100644 index 0000000..b3017d3 --- /dev/null +++ b/image/environment/default.startup.yaml @@ -0,0 +1,16 @@ +KEEPALIVED_INTERFACE: eth0 +KEEPALIVED_PASSWORD: d0cker + +# For electing MASTER, highest priority wins. +# to be MASTER, make 50 more than other machines +KEEPALIVED_PRIORITY: 150 + +KEEPALIVED_UNICAST_PEERS: + - 192.168.1.10 + - 192.168.1.11 + +KEEPALIVED_VIRTUAL_IPS: + - 192.168.1.231 + - 192.168.1.232 + +KEEPALIVED_NOTIFY: /container/service/keepalived/assets/notify.sh diff --git a/image/environment/default.yaml b/image/environment/default.yaml index 738bd6f..ebeafb2 100644 --- a/image/environment/default.yaml +++ b/image/environment/default.yaml @@ -1,18 +1 @@ -KEEPALIVED_INTERFACE: eth0 -KEEPALIVED_PASSWORD: d0cker - -# For electing MASTER, highest priority wins. -# to be MASTER, make 50 more than other machines -KEEPALIVED_PRIORITY: 150 - -KEEPALIVED_UNICAST_PEERS: - - 192.168.1.10 - - 192.168.1.11 - -KEEPALIVED_VIRTUAL_IPS: - - 192.168.1.231 - - 192.168.1.232 - -KEEPALIVED_NOTIFY: /container/service/keepalived/assets/notify.sh - KEEPALIVED_COMMAND_LINE_ARGUMENTS: --log-detail --dump-conf