From e8fb1f02e2297bb8c5470b97005eafa1d501e4b6 Mon Sep 17 00:00:00 2001 From: ofreax Date: Fri, 19 Aug 2016 11:58:49 +0200 Subject: [PATCH] split environment variables --- image/environment/default.startup.yaml | 16 ++++++++++++++++ image/environment/default.yaml | 17 ----------------- 2 files changed, 16 insertions(+), 17 deletions(-) create mode 100644 image/environment/default.startup.yaml 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