diff options
author | Tim Rozet <trozet@redhat.com> | 2018-05-15 16:38:44 -0400 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2018-05-21 12:42:24 -0400 |
commit | 96d6db26ad1f31ef5790e5cc0904361712598c77 (patch) | |
tree | a3f278368a4f89eeefd95b7acc85014c611f8cc9 | |
parent | d2913d4bcc0fcd25dc3d01f6604049dfd0a9217d (diff) |
Fixes ctlplane default route
Default route was using the undercloud IP, and instead should be using
the gateway set for the network in network settings.
JIRA: APEX-597
Change-Id: Iff6b18a6553af98cf9da72c278f358922d489958
Signed-off-by: Tim Rozet <trozet@redhat.com>
-rw-r--r-- | apex/network/network_environment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apex/network/network_environment.py b/apex/network/network_environment.py index ea71e0f3..0a4d1036 100644 --- a/apex/network/network_environment.py +++ b/apex/network/network_environment.py @@ -82,7 +82,7 @@ class NetworkEnvironment(dict): admin_prefix = str(admin_cidr.prefixlen) self[param_def]['ControlPlaneSubnetCidr'] = admin_prefix self[param_def]['ControlPlaneDefaultRoute'] = \ - nets[ADMIN_NETWORK]['installer_vm']['ip'] + nets[ADMIN_NETWORK]['gateway'] self[param_def]['EC2MetadataIp'] = \ nets[ADMIN_NETWORK]['installer_vm']['ip'] self[param_def]['DnsServers'] = net_settings['dns_servers'] |