Fixed install_from_source to add iptables-persistent package 15/515/1 v1.0.0
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 5 Oct 2016 23:53:55 +0000 (01:53 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 5 Oct 2016 23:53:55 +0000 (01:53 +0200)
Change-Id: Ib46c05680ec77fa588d0f83f789056c03e750459
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/install_from_source.sh

index ea1631d..bb0ca7e 100755 (executable)
@@ -95,6 +95,11 @@ $OSM_DEVOPS/jenkins/host/start_build VCA
 $OSM_DEVOPS/jenkins/host/start_build SO checkout $COMMIT_ID
 $OSM_DEVOPS/jenkins/host/start_build UI checkout $COMMIT_ID
 
+#Install iptables-persistent
+echo -e "\nInstalling iptables-persistent"
+echo -e "   Required root privileges"
+sudo DEBIAN_FRONTEND=noninteractive apt-get -yq install iptables-persistent
+
 #Configure NAT rules
 echo -e "\nConfiguring NAT rules"
 echo -e "   Required root privileges"