From 41125e53d5ca5e727e326078420cd900b9b48076 Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Tue, 1 Sep 2015 13:22:35 -0400 Subject: 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 --- foreman/ci/deploy.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'foreman/ci/deploy.sh') 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 -- cgit 1.2.3-korg