Change-Id: I6aa38a06b75245636877575ad1424161f763f336
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
echo -e " Configuring SO"
sudo route add -host $JUJU_CONTROLLER_IP gw $VCA_CONTAINER_IP
+ sudo sed -i "$iroute add -host \$JUJU_CONTROLLER_IP gw \$VCA_CONTAINER_IP" /etc/rc.local
lxc exec SO-ub -- nohup sudo -b -H /usr/rift/rift-shell -r -i /usr/rift -a /usr/rift/.artifacts -- ./demos/launchpad.py --use-xml-mode &
time=0; step=30; timelength=300; while [ $time -le $timelength ]; do sleep $step; echo -n "."; time=$((time+step)); done; echo
apt-get install -y juju lxd squid-deb-proxy
echo 'streams.canonical' > /etc/squid-deb-proxy/mirror-dstdomain.acl.d/20-juju-streams
+service squid-deb-proxy reload
INFO "Configuring LXD"
# ZFS doesn't work inside a nested container. ZFS should be configured in the host LXD.