Fix: Activate the virtual environment
[releng/global-jjb.git] / shell / capture-instance-metadata.sh
index 0998dd1..0648d1d 100644 (file)
 
 echo "---> capture-instance-metadata.sh"
 
+# shellcheck disable=SC1090
+source ~/lf-env.sh
+
+lf-activate-venv --python python3.8 lftools
+
 # detect if we're in EC2
 if [ -n "${NOMAD_DC}" ]; then
     echo "INFO: Running in Nomad, no metadata"