Merge "Update cloud image Ubuntu18.04 mininet ovs"
[releng/builder.git] / jjb / packaging / openstack-k8s-config-export.sh
index 883df0014f6fe39ffefe317b4056b456872543c8..4d7de8099109be3ecf457958c8c997aacae523fc 100644 (file)
@@ -13,7 +13,13 @@ echo "---> Export K8S cluster config and view nodes"
 set -eux -o pipefail
 
 # shellcheck disable=SC1090
-source ~/lf-env.sh
+. ~/lf-env.sh
+
+lf-activate-venv --python python3 \
+    kubernetes \
+    python-heatclient \
+    python-openstackclient \
+    yq
 
 OS_TIMEOUT=5             # Wait time in minutes for OpenStack cluster nodes to come up.
 CLUSTER_NODE_RETRIES=15  # Number of times to retry waiting for a cluster nodes.