You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
735 B
29 lines
735 B
#!/bin/bash
|
|
|
|
set -eux # -x for verbose logging to juju debug-log
|
|
|
|
##
|
|
## add files
|
|
##
|
|
|
|
cp src/usr/local/sbin/* src/usr/local/sbin/
|
|
|
|
## Could consider not using docker inside the LXC for compatibility
|
|
## reason in this case you need to setup a --lts connection. You can
|
|
## use "DOCKER_MAIN_OPTS" to add this to every usage of docker one
|
|
## 0k-docker is installed.
|
|
|
|
## install
|
|
## - 0k-docker for docker-build-charm
|
|
ln -sf /opt/apps/0k-docker/bin/docker-build-charm /usr/local/sbin
|
|
|
|
## - 0k-charm for charms
|
|
ln -sf /opt/apps/0k-charms/precise /srv/charm-store
|
|
|
|
apt-get install python-pip ## for 'pip install shyaml'
|
|
pip install shyaml ## for docker-build-charm
|
|
|
|
apt-get install kal-shlib-pretty ## for docker-build-charm
|
|
|
|
|
|
|