diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-05-02 13:42:30 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-05-02 13:42:30 +0000 |
| commit | c155758c2d264a3820e5b41de830626edb8e70cb (patch) | |
| tree | 1fef519f59310f7eb6d0286a0bfb3226f1b76a8b /tools | |
| parent | 420f8740ea4a9c6e534fd57e66ea77ec11cdad5a (diff) | |
| parent | f93ed9a935c9e9b159cb42c548f4d6d3383f36f2 (diff) | |
| download | kolla-c155758c2d264a3820e5b41de830626edb8e70cb.tar.gz kolla-c155758c2d264a3820e5b41de830626edb8e70cb.zip | |
Merge "Use a random virtual_router_id in the keepalived"
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/deploy_aio.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/deploy_aio.sh b/tools/deploy_aio.sh index b6c507bce..2f0d316fd 100755 --- a/tools/deploy_aio.sh +++ b/tools/deploy_aio.sh @@ -7,6 +7,7 @@ export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" export KOLLA_BASE=$1 export KOLLA_TYPE=$2 +export KEEPALIVED_VIRTUAL_ROUTER_ID=$(shuf -i 1-255 -n 1) function copy_logs { cp -rnL /var/lib/docker/volumes/kolla_logs/_data/* /tmp/logs/kolla/ @@ -57,6 +58,7 @@ function write_configs { kolla_base_distro: "${KOLLA_BASE}" kolla_install_type: "${KOLLA_TYPE}" kolla_internal_vip_address: "169.254.169.10" +keepalived_virtual_router_id: "${KEEPALIVED_VIRTUAL_ROUTER_ID}" docker_restart_policy: "never" network_interface: "eth0" neutron_external_interface: "fake_interface" |
