allomov
8/14/2014 - 10:21 AM

cf-juju-install.sh


juju destroy-environment local
sudo virsh list
sudo lxc-destroy -n juju-trusty-template
sudo lxc-ls
juju bootstrap

rm cf.yaml

export ADMIN_PASS=`cat ${JUJU_HOME:-~/.juju}/environments/$(juju switch).jenv|grep admin-secret|awk '{print $2;}'`
cat << EOF > cf.yaml
cloudfoundry:
    admin_secret: $ADMIN_PASS
EOF

juju deploy --repository=./../.. --config cf.yaml local:trusty/cloudfoundry --constraints='root-disk=20G'