Code review comment for ~shaner/cloud-init:1781039

Revision history for this message
Shane Peters (shaner) wrote :

After upgrading cloud-init on an instance and creating a new image from it, I tested using different types of user-data (ssh-keys,cloud-config) using the below commands. Both work fine. Tests w/o user-data work as well.

gcloud compute instances create trusty-1 --image new-cloud-init --image-project $PROJECT --metadata-from-file=ssh-keys=my-ssh-keys --metadata=block-project-ssh-keys=True

gcloud compute instances create trusty-2 --image new-cloud-init - --image-project $PROJECT --metadata-from-file user-data=my-user-data --metadata=block-project-ssh-keys=True

The cloud config I used can be found at https://pastebin.ubuntu.com/p/WnhPtJRsXn/

« Back to merge proposal