diff options
author | 2015-09-01 13:22:35 -0400 | |
---|---|---|
committer | 2015-09-01 13:22:35 -0400 | |
commit | 41125e53d5ca5e727e326078420cd900b9b48076 (patch) | |
tree | 2c31ba37280de0f642fb0c5c2a970175ac366503 /foreman/ci/deploy.sh | |
parent | 52639193804c6da3765066ce0f2aa365d381f897 (diff) |
Removes default vagrant route from virtual nodes
Removes default gateway route to 10.0.2.2 after adding public default route
JIRA: APEX-2
Change-Id: I7ba23e916f3995f39ee1677007ae5c1612cb3cc9
Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'foreman/ci/deploy.sh')
-rwxr-xr-x | foreman/ci/deploy.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/foreman/ci/deploy.sh b/foreman/ci/deploy.sh index 9c1447b..46d4a96 100755 --- a/foreman/ci/deploy.sh +++ b/foreman/ci/deploy.sh @@ -1127,6 +1127,7 @@ start_virtual_nodes() { if ! vagrant ssh -c "route | grep default | grep $this_default_gw"; then echo "${blue} Adding public route back to $node! ${reset}" vagrant ssh -c "route add default gw $this_default_gw" + vagrant ssh -c "route delete default gw 10.0.2.2" fi popd done |