From e40ba77269a6b224a9e6e3f6378850c4e0dd004e Mon Sep 17 00:00:00 2001 From: Armando Migliaccio Date: Tue, 19 Sep 2017 13:42:28 -0400 Subject: [PATCH] Tweak configure_for_func_testing to work on OpenSUSE Ensure OpenSUSE is supported as a platform when installing packages. Signal also that the configuration is completed successfully. That's friendly when the script is invoked manually. Change-Id: Id9489ecbbacaf7b98a022e7fbdd9cddae3a4c398 --- tools/configure_for_func_testing.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/configure_for_func_testing.sh b/tools/configure_for_func_testing.sh index 78d9438d92b..8e8f0d816c5 100755 --- a/tools/configure_for_func_testing.sh +++ b/tools/configure_for_func_testing.sh @@ -233,6 +233,9 @@ function _install_post_devstack { elif is_fedora; then install_package dhclient install_package nmap-ncat + elif is_suse; then + install_package dhcp-client + install_package ncat else exit_distro_not_supported "installing dhclient and ncat packages" fi @@ -290,3 +293,5 @@ if [[ "$VENV" =~ "dsvm-fullstack" ]]; then _configure_iptables_rules sudo modprobe ip_conntrack_proto_sctp fi + +echo "Phew, we're done!"