diff --git a/lib/cinder b/lib/cinder index c2e55f9173..b1e3d0d408 100644 --- a/lib/cinder +++ b/lib/cinder @@ -419,7 +419,7 @@ function install_cinder { if [[ "$CINDER_ISCSI_HELPER" == "tgtadm" ]]; then install_package tgt elif [[ "$CINDER_ISCSI_HELPER" == "lioadm" ]]; then - if [[ ${DISTRO} == "bionic" ]]; then + if is_ubuntu; then # TODO(frickler): Workaround for https://launchpad.net/bugs/1819819 sudo mkdir -p /etc/target