Restrict iscsi package hack to Fedora
I forgot in I2f16658c5a3e22cac70912a0f3ad65cdd7071a1e that "is_fedora" matches rhel/centos for historical reasons. Restrict the install to just the Fedora platforms by checking DISTRO matches Change-Id: Ica4a690a4f2894a03ceb8557a947ed2ea4a60e53
This commit is contained in:
parent
ba50347526
commit
1a46c898db
4
lib/nova
4
lib/nova
@ -296,11 +296,11 @@ function configure_nova {
|
||||
fi
|
||||
fi
|
||||
|
||||
if is_fedora; then
|
||||
if is_fedora && [[ $DISTRO =~ f[0-9][0-9] ]]; then
|
||||
# There is an iscsi-initiator bug where it inserts
|
||||
# different whitespace that causes a bunch of output
|
||||
# matching to fail. We have not been able to get
|
||||
# fixed, yet :/ Exists in fedora 29 & 30
|
||||
# fixed, yet :/ Exists in fedora 29 & 30 at least
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1676365
|
||||
sudo dnf copr enable -y iwienand/iscsi-initiator-utils
|
||||
sudo dnf update -y
|
||||
|
Loading…
Reference in New Issue
Block a user