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
This commit is contained in:
Armando Migliaccio 2017-09-19 13:42:28 -04:00
parent 917063a0ce
commit e40ba77269

View File

@ -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!"