#!/bin/bash set -eux DIR="$(dirname `readlink -f $0`)" TARGET="${DIR}/deployment_scripts/puppet/modules/onos/files" onos=http://205.177.226.237:9999/onosfw/onos-1.3.0.tar.gz jdk=http://205.177.226.237:9999/onosfw/jdk-8u51-linux-x64.tar.gz repo=http://205.177.226.237:9999/onosfw/repository.tar cd $TARGET if [ ! -f "onos-1.3.0.tar.gz" ]; then wget $onos -P $TARGET wget $jdk -P $TARGET wget $repo -P $TARGET fi