title: Run custom script when deployed Azure vm boots
body: <p>I'm using Azure Python SDK to deploy a Linux Vm in the Cloud. This Vm has a public IP and ssh enabled. I need to have this Vm running a custom script immediately after it boots . This script would install pip, python, docker etc and start a docker container.</p>
  
  <p>How could I pass this script when deploying the vm ? / How could I instruct the vm to run this script after it has started ?</p>
  
  <p>Cheers,
  Steve</p>