Browse code

Cinder: install targetcli-fb for Bionic

The "targetcli" package no longer exists
in Bionic and has been superseded by
"targetcli-fb".

Change-Id: I99e4e8ad8fbb6e7c86571af8b0c222dafacf6447

Eric Harney authored on 2019/03/05 07:50:47
Showing 1 changed files
... ...
@@ -434,7 +434,11 @@ function install_cinder {
434 434
     if [[ "$CINDER_ISCSI_HELPER" == "tgtadm" ]]; then
435 435
         install_package tgt
436 436
     elif [[ "$CINDER_ISCSI_HELPER" == "lioadm" ]]; then
437
-        install_package targetcli
437
+        if [[ ${DISTRO} == "bionic" ]]; then
438
+            install_package targetcli-fb
439
+        else
440
+            install_package targetcli
441
+        fi
438 442
     fi
439 443
 }
440 444