VCA start_build modified to take into account changes in juju client. OSM installer...
[osm/devops.git] / jenkins / VCA / start_build
index a945a05..1724d8e 100755 (executable)
 # 20 Sep 2016 -- Gerardo Garcia -- adapted from template
 # 
 
+HERE=$(realpath $(dirname $0))
+OSM_JENKINS=$(dirname $HERE)
+. $OSM_JENKINS/common/all_funcs
+
 INFO "installing packages"
 apt update
 lxd init --auto
@@ -44,8 +48,10 @@ EOF
 systemctl enable lxd-bridge
 systemctl start lxd-bridge
 lxc image copy ubuntu:16.04 local: --alias ubuntu-xenial
+add-apt-repository -y ppa:juju/devel
+apt update
 apt install -y juju
-juju bootstrap juju localhost
+juju bootstrap localhost osm
 
 RC=0