bigcloud's cloud-init base code