Fixes issues with baremetal 05/40205/1
authorTim Rozet <trozet@redhat.com>
Fri, 25 Aug 2017 05:21:16 +0000 (01:21 -0400)
committerTim Rozet <trozet@redhat.com>
Fri, 25 Aug 2017 05:21:16 +0000 (01:21 -0400)
Change-Id: I60470611a70261d57ccbfd0e499f4336c7a12fe1
Signed-off-by: Tim Rozet <trozet@redhat.com>
apex/deploy.py
ci/clean.sh

index 76708e9..ceef160 100644 (file)
@@ -291,8 +291,8 @@ def main():
             if uc_external:
                 jump_networks.append('external')
             for network in jump_networks:
-                iface = net_settings['network'][network]['installer_vm'][
-                    'members'](0)
+                iface = net_settings['networks'][network]['installer_vm'][
+                    'members'][0]
                 bridge = "br-{}".format(network)
                 jumphost.attach_interface_to_ovs(bridge, iface, network)
         # Dump all settings out to temp bash files to be sourced
index e35b95b..ef81041 100755 (executable)
@@ -165,7 +165,7 @@ if [ -n "$INVENTORY_FILE" ]; then
   echo -e "${blue}INFO: Parsing inventory file...${reset}"
   # hack for now (until we switch fully over to clean.py) to tell if
   # we should install apex from python or if rpm is being used
-  if ! rpm -q opnfv-apex-common > /dev/null; then
+  if ! rpm -q python34-opnfv-apex > /dev/null; then
     pushd ../ && python3 setup.py install > /dev/null
     popd
   fi