title: rc.local doesn't seem to run on first boot
body: <p>Got a bit of a weird issue with a Debian template.</p>
  
  <p>I'm running a script called provisioning.sh. 
  This script needs to run on first boot once a template is deployed, so I call it in rc.local with...</p>
  
  <pre><code>    /var/provision/provisioning.sh
  </code></pre>
  
  <p>When i initially deploy a template, this script is not run, however If i log on as root and then reboot the VM, the script is run at boot as it should be.</p>
  
  <p>This is obviously not ideal as my provisioning script sets up all sort of bits and bobs and brings the VM online on its final publicly accessible IP, all of which should be automated but its currently requiring intervention to log in and reboot. </p>
  
  <p>I am running the same script on both my Ubuntu template and my CentOS template and it works everytime. </p>
  
  <p>Can anyone think of a reason why this script wont run on first boot with Debian?</p>
  
  <p>Cheers :)</p>