Cinder: install targetcli-fb for Bionic
The "targetcli" package no longer exists
in Bionic and has been superseded by
"targetcli-fb".
Change-Id: I99e4e8ad8fbb6e7c86571af8b0c222dafacf6447
diff --git a/lib/cinder b/lib/cinder
index d69b21e..48f3e45 100644
--- a/lib/cinder
+++ b/lib/cinder
@@ -434,7 +434,11 @@
if [[ "$CINDER_ISCSI_HELPER" == "tgtadm" ]]; then
install_package tgt
elif [[ "$CINDER_ISCSI_HELPER" == "lioadm" ]]; then
- install_package targetcli
+ if [[ ${DISTRO} == "bionic" ]]; then
+ install_package targetcli-fb
+ else
+ install_package targetcli
+ fi
fi
}