Tweaks to support 32- and 64-bit VMs better
[training-lab.git] / scripts / runtime_vm_startup
1 #!/bin/sh
2
3 set -e
4 #set -x
5
6 # Mounting automatically in /etc/fstab does not seem to work -
7 # probably a timing issue? Do it by hand here, later on
8 sudo mount /vagrant
9
10 # Delete the flag file - let our parent know we're started ok
11 sudo rm -f /vagrant/runtime/waiting_runtime_vm
12
13 # Finally, run any provisioning desired
14 if [ -x /vagrant/runtime/runtime_vm_provision ]; then
15     sudo /vagrant/runtime/runtime_vm_provision
16 fi