CI: Restore Xenial compatibility in K8s script

Recently, the Minikube gate script was modified to support Ubuntu Bionic
[0]; however, the change made the script incompatible with Ubuntu Xenial
because libxtables12 is not available on Ubuntu Xenial. OpenStack-Helm
still supports Ubuntu Xenial, and this script should too.

This change modifies the gate script to install iptables instead of
libxtables12. The iptables package depends on libxtables11 on Ubuntu
Xenial and libxtables12 on Ubuntu Bionic, so this achieves the same
result.

[0] https://review.opendev.org/650523

Change-Id: I5afbcfeca6e7b30857a44aed35a360595eeb5037
Signed-off-by: Drew Walters <andrew.walters@att.com>
This commit is contained in:
Drew Walters 2019-07-12 13:48:42 +00:00
parent ae3c07b853
commit 8ba46703ee

View File

@ -71,7 +71,7 @@ sudo -E apt-get install -y \
rbd-nbd \ rbd-nbd \
nfs-common \ nfs-common \
bridge-utils \ bridge-utils \
libxtables12 iptables
sudo -E tee /etc/modprobe.d/rbd.conf << EOF sudo -E tee /etc/modprobe.d/rbd.conf << EOF
install rbd /bin/true install rbd /bin/true