Fix _ to be -
[releng/builder.git] / packer / provision / java-builder.sh
index 775d2279a194b9788b6765b8931ab512262ec301..089c915057fe801eeea19c508ed294ed3ebd683d 100644 (file)
@@ -63,3 +63,16 @@ wget -nv https://releases.hashicorp.com/packer/0.12.2/packer_0.12.2_linux_amd64.
 unzip packer_0.12.2_linux_amd64.zip -d /usr/local/bin/
 # rename packer to avoid conflict with binary in cracklib
 mv /usr/local/bin/packer /usr/local/bin/packer.io
+
+# Check out quagga , compile and install for router functionalities
+echo "Installing the Quagga..."
+mkdir -p /tmp/build_quagga
+cd /tmp/build_quagga
+git clone https://github.com/6WIND/zrpcd.git
+cd zrpcd
+git checkout 20170731
+chmod a+x /tmp/build_quagga/zrpcd/pkgsrc/dev_compile_script.sh
+/tmp/build_quagga/zrpcd/pkgsrc/dev_compile_script.sh -d -b -t
+
+# Removing the build_quagga folder
+rm -rf /tmp/build_quagga/