Test building LXC node
diff --git a/onos-build-vm.py b/onos-build-vm.py
index 57338a4..719a390 100755
--- a/onos-build-vm.py
+++ b/onos-build-vm.py
@@ -25,13 +25,13 @@
 def installONOS( vm, prompt=Prompt ):
     # start with sendline
     #TODO consider resizing the HDD
-    url = 'https://gerrit.onosproject.org/gitweb?p=onos-vm.git;a=blob_plain;hb=refs/heads/onos-tutorial;f=vm-setup.sh'
+    url = 'https://gerrit.onosproject.org/gitweb?p=onos-vm.git;a=blob_plain;hb=refs/heads/new-onos-tutorial;f=vm-setup-lxc.sh'
     vm.sendline( ' wget -O vm-setup.sh "%s" | bash' % url ) # space prefix is used to avoid entry in history
     vm.expect( prompt, timeout=20 )
-    vm.sendline( 'bash vm-setup.sh' )
+    vm.sendline( 'bash vm-setup-lxc.sh' )
     vm.expect( prompt, timeout=3600 )
 
-    
+    """
     vm.sendline('sudo su - tutorial1')
     vm.expect(prompt, timeout=20) 
     vm.sendline( 'git clone https://gerrit.onosproject.org/onos' )
@@ -57,7 +57,7 @@
     vm.expect(prompt, timeout=3600)
     vm.sendline('exit')
     vm.expect(prompt, timeout=20) 
-     
+    """
     
 
 def vmdk2size( vmdk ):
diff --git a/vm-setup-lxc.sh b/vm-setup-lxc.sh
new file mode 100644
index 0000000..f45e95f
--- /dev/null
+++ b/vm-setup-lxc.sh
@@ -0,0 +1,28 @@
+#!/bin/bash
+# vm-setup.sh
+#  
+# 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
+
+sudo apt-get install -y git openjdk-8-jdk maven unzip quagga curl erlang make gcc wget autoconf openssl libssl0.9.8 libssl-dev libncurses5 libncurses5-dev wireshark
+sudo update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
+sudo update-alternatives --set javac /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
+
+sudo lxc-create --name onos1 -t download -- --dist ubuntu --release trusty --arch amd64
+
+sudo sh -c "echo lxc.network.ipv4=10.0.3.11 >> /var/lib/lxc/onos1/config"
+sudo sh -c "echo lxc.start.auto=1 >> /var/lib/lxc/onos1/config"
+
+sudo lxc-start --name onos1 --daemon
+sudo lxc-attach --name onos1 -- useradd -m sdn -s /bin/bash
+sudo lxc-attach --name onos1 -- /bin/bash -c "echo sdn:rocks | chpasswd"
+sudo lxc-attach --name onos1 -- /bin/bash -c "echo \"sdn ALL=(ALL) NOPASSWD:ALL\" > /etc/sudoers.d/sdn"
+sudo lxc-attach --name onos1 -- apt-get update
+sudo lxc-attach --name onos1 -- apt-get install openssh-server
+sudo lxc-attach --name onos1 -- apt-get install software-properties-common -y
+sudo lxc-attach --name onos1 -- add-apt-repository ppa:webupd8team/java -y
+sudo lxc-attach --name onos1 -- apt-get update
+sudo lxc-attach --name onos1 -- apt-get install oracle-java8-installer oracle-java8-set-default -y
+sudo lxc-stop --name onos1