progress on multi-host lxc

main
Anthony Young 13 years ago
parent 17348108b3
commit 80638e545f

@ -126,7 +126,7 @@ apt-get -y --force-yes install git-core vim-nox sudo
if [ ! -d "~/nfs-stack" ]; then
su -c "git clone git://github.com/cloudbuilders/nfs-stack.git ~/nfs-stack" stack
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
# Make the run.sh executable

@ -168,6 +168,9 @@ sudo sed -e "s,%DASH_DIR%,$DASH_DIR,g" -i /etc/apache2/sites-enabled/000-default
# dashboard can run
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
# ------

Loading…
Cancel
Save