Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix: Bump the default version of jjb to 6.0.0
[releng/global-jjb.git]
/
shell
/
openstack-protect-in-use-images.sh
diff --git
a/shell/openstack-protect-in-use-images.sh
b/shell/openstack-protect-in-use-images.sh
index
468ea0d
..
0d1624c
100644
(file)
--- 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}"
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")
images=()
while read -r -d $'\n' ; do
images+=("$REPLY")