aboutsummaryrefslogtreecommitdiffstats
path: root/framework/scripts/installer/fuel/fuel-plugin-onos/pre_build_hook
blob: ce39b7be1df6b537c9aecbf3bfbd7166d6d4259c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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