progress on multi-host lxc

This commit is contained in:
Anthony Young 2011-09-14 01:29:05 -07:00
parent 17348108b3
commit 80638e545f
2 changed files with 4 additions and 1 deletions

View file

@ -126,7 +126,7 @@ apt-get -y --force-yes install git-core vim-nox sudo
if [ ! -d "~/nfs-stack" ]; then if [ ! -d "~/nfs-stack" ]; then
su -c "git clone git://github.com/cloudbuilders/nfs-stack.git ~/nfs-stack" stack su -c "git clone git://github.com/cloudbuilders/nfs-stack.git ~/nfs-stack" stack
fi fi
su -c "cd ~/nfs-stack && $STACKSH_PARAMS ./stack.sh" stack >> /opt/run.sh.log nohup su -c "cd ~/nfs-stack && $STACKSH_PARAMS ./stack.sh" stack &> /opt/run.sh.log
EOF EOF
# Make the run.sh executable # Make the run.sh executable

View file

@ -168,6 +168,9 @@ sudo sed -e "s,%DASH_DIR%,$DASH_DIR,g" -i /etc/apache2/sites-enabled/000-default
# dashboard can run # dashboard can run
sudo chown -R www-data:www-data $DASH_DIR sudo chown -R www-data:www-data $DASH_DIR
# Edit /etc/mysql/my.cnf to change bind-address from localhost (127.0.0.1) to any (0.0.0.0) and restart the mysql service:
sudo sed -i 's/127.0.0.1/0.0.0.0/g' /etc/mysql/my.cnf
sudo service mysql restart
# Glance # Glance
# ------ # ------