read_cloud_init_file function

create the cloud_init file to upload