Install Python to make sure its available on all images.
Issue-ID: RELENG-4182
Change-Id: Ic8900474fdfd4ce1bdaeecc1e80fef74ca6538f7
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
--- /dev/null
+---
+fixes:
+ - |
+ Activate the virtual environment. Python may not be available by default
+ on all versions.
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"