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
| ... | ... |
@@ -296,11 +296,11 @@ function configure_nova {
|
| 296 | 296 |
fi |
| 297 | 297 |
fi |
| 298 | 298 |
|
| 299 |
- if is_fedora; then |
|
| 299 |
+ if is_fedora && [[ $DISTRO =~ f[0-9][0-9] ]]; then |
|
| 300 | 300 |
# There is an iscsi-initiator bug where it inserts |
| 301 | 301 |
# different whitespace that causes a bunch of output |
| 302 | 302 |
# matching to fail. We have not been able to get |
| 303 |
- # fixed, yet :/ Exists in fedora 29 & 30 |
|
| 303 |
+ # fixed, yet :/ Exists in fedora 29 & 30 at least |
|
| 304 | 304 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1676365 |
| 305 | 305 |
sudo dnf copr enable -y iwienand/iscsi-initiator-utils |
| 306 | 306 |
sudo dnf update -y |