From 363acd9d3d83af2ab088d84b069c1ffba2512e3b Mon Sep 17 00:00:00 2001 From: Eric Harney Date: Mon, 4 Mar 2019 17:50:47 -0500 Subject: [PATCH] Cinder: install targetcli-fb for Bionic The "targetcli" package no longer exists in Bionic and has been superseded by "targetcli-fb". Change-Id: I99e4e8ad8fbb6e7c86571af8b0c222dafacf6447 --- lib/cinder | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/cinder b/lib/cinder index d69b21efd0..48f3e45c55 100644 --- a/lib/cinder +++ b/lib/cinder @@ -434,7 +434,11 @@ function install_cinder { 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 }