X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fopenstack-protect-in-use-images.sh;h=0d1624ca92c249512275df4226d3b6ef5b05d72f;hb=b9b982379e3df32c324b0794f95670847ac8c3d4;hp=468ea0d8f2256f2f9215726fe1000c16fba11666;hpb=5beb45586451cb772982de881cd09fd97360be87;p=releng%2Fglobal-jjb.git diff --git a/shell/openstack-protect-in-use-images.sh b/shell/openstack-protect-in-use-images.sh index 468ea0d8..0d1624ca 100644 --- a/shell/openstack-protect-in-use-images.sh +++ b/shell/openstack-protect-in-use-images.sh @@ -19,6 +19,14 @@ set -eu -o pipefail echo "---> Protect in-use images" os_cloud="${OS_CLOUD:-vex}" +# shellcheck disable=SC1090 +source ~/lf-env.sh + +lf-activate-venv --python python3 "lftools[openstack]" \ + kubernetes \ + python-heatclient \ + python-openstackclient + images=() while read -r -d $'\n' ; do images+=("$REPLY")