Clean up and document
diff --git a/vm-setup-lxc.sh b/vm-setup-lxc.sh
index 42c3adf..6e691b7 100644
--- a/vm-setup-lxc.sh
+++ b/vm-setup-lxc.sh
@@ -1,13 +1,13 @@
#!/bin/bash
# vm-setup.sh
-#
+#
+# Runs as root.
+#
# This script sets up the VM ready to run ONOS and tutorials, including installing an LXC cluster
# for ONOS to run in.
sudo apt-get update
-# TODO erlang, quagga, wireshark
-#sudo apt-get install -y git openjdk-8-jdk maven unzip curl make gcc wget autoconf openssl libssl0.9.8 libssl-dev libncurses5 libncurses5-dev lxc
sudo apt-get install -y git openjdk-8-jdk maven unzip curl wget lxc virtualbox-guest-utils wireshark quagga erlang make gcc autoconf openssl libssl0.9.8 libssl-dev libncurses5 libncurses5-dev
sudo update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
@@ -51,10 +51,11 @@
sudo lxc-attach --name onos1 -- chown sdn:sdn /home/sdn/.ssh/authorized_keys
sudo lxc-attach --name onos1 -- chmod 600 /home/sdn/.ssh/authorized_keys
+sudo lxc-attach --name onos1 -- apt-get clean
sudo lxc-stop --name onos1
-
+# Clone the first node to create two more nodes
sudo lxc-clone onos1 onos2
sudo sh -c "sed -i s/10.0.3.11/10.0.3.12/ /var/lib/lxc/onos2/rootfs/etc/network/interfaces"