Hi Eric,
This would be great to have this kind of functionality!
Buy the way I figure out this feature, if I predefine disk with the exact name of instance and in the same zone it'll be auto attached to the instance created.
For example, if I run:
$ salt-cloud -f create_disk gce disk_name=some-instance-name-999 location=us-central1-b size=100
$ salt-cloud -p working-profile some-instance-name-999
Then I'll have instance
some-instance-name-999 with disk 100Gb. By df -h it will show default 10Gb, but after fdisk+reboot+resize2fs I'll have my 100Gb.
But only question, is there is any way to create a SSD disk without gsutil? like "type pd-ssd" or something?
Thank you.
пятница, 31 октября 2014 г., 15:00:52 UTC+2 пользователь Eric Johnson написал: