From 8ba46703ee9fab0115e4b7f62ea43e0798c36872 Mon Sep 17 00:00:00 2001 From: Drew Walters Date: Fri, 12 Jul 2019 13:48:42 +0000 Subject: [PATCH] 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 --- tools/deployment/common/005-deploy-k8s.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/deployment/common/005-deploy-k8s.sh b/tools/deployment/common/005-deploy-k8s.sh index 682b57da6..36f99f2a6 100755 --- a/tools/deployment/common/005-deploy-k8s.sh +++ b/tools/deployment/common/005-deploy-k8s.sh @@ -71,7 +71,7 @@ sudo -E apt-get install -y \ rbd-nbd \ nfs-common \ bridge-utils \ - libxtables12 + iptables sudo -E tee /etc/modprobe.d/rbd.conf << EOF install rbd /bin/true