progress on multi-host lxc
diff --git a/build_lxc.sh b/build_lxc.sh
index ce9a45e..63c9e50 100755
--- a/build_lxc.sh
+++ b/build_lxc.sh
@@ -126,7 +126,7 @@
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
diff --git a/stack.sh b/stack.sh
index 0f6ea96..62f813a 100755
--- a/stack.sh
+++ b/stack.sh
@@ -168,6 +168,9 @@
# 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
# ------