Fixes on orchestra deployment

This commit is contained in:
Marc Aymerich 2015-04-29 21:39:51 +00:00
parent 93ba8f98e0
commit f090ecc3a9

View file

@ -37,7 +37,7 @@ If you are planing to do some development or perhaps just checking out this proj
1. Create a basic [LXC](http://linuxcontainers.org/) container, start it and get inside. 1. Create a basic [LXC](http://linuxcontainers.org/) container, start it and get inside.
```bash ```bash
wget -O /tmp/create.sh \ wget -O /tmp/create.sh \
https://raw.github.com/glic3rinu/django-orchestra/master/scripts/container/create.sh https://raw.github.com/glic3rinu/django-orchestra/master/scripts/container/create.sh
sudo bash /tmp/create.sh sudo bash /tmp/create.sh
sudo lxc-start -n orchestra sudo lxc-start -n orchestra
# root/root # root/root
@ -49,7 +49,7 @@ If you are planing to do some development or perhaps just checking out this proj
# Probably you will have to configure the NAT first: # Probably you will have to configure the NAT first:
# sudo iptables -t nat -A POSTROUTING -s `container_ip` -j MASQUERADE # sudo iptables -t nat -A POSTROUTING -s `container_ip` -j MASQUERADE
wget -O /tmp/deploy.sh \ wget -O /tmp/deploy.sh \
https://raw.github.com/glic3rinu/django-orchestra/master/scripts/container/deploy.sh https://raw.github.com/glic3rinu/django-orchestra/master/scripts/container/deploy.sh
cd /tmp/ # Moving away from /root before running deploy.sh cd /tmp/ # Moving away from /root before running deploy.sh
bash /tmp/deploy.sh bash /tmp/deploy.sh
``` ```