cloudinit functions
Merge pull request #48 from karmab/cloud_init

add cloud_init support