Project

General

Profile

Task #5575

Updated by Brett Smith about 9 years ago

Disk list should look roughly like: 

 <pre> 
 [{'autoDelete': True, 
   'boot': True, 
   # image.extra['selfLink'] 
   'initializeParams': {'sourceImage': 
 u'https://www.googleapis.com/compute/v1/projects/curoverse-production/global/images/ourImageName'}, u'https://www.googleapis.com/compute/v1/projects/curoverse-production/global/images/packer-1425329539'}, 
   'type': 'PERSISTENT'}, 
  {'autoDelete': True, 
   # This is an arbitrary name we choose. 
   'deviceName': 'data-ssd', 
   # disktype.extra['selfLink'] 
   'initializeParams': {'diskType': u'https://www.googleapis.com/compute/v1/projects/curoverse-production/zones/us-central1-a/diskTypes/local-ssd'}, 
   'type': 'SCRATCH'}] 
 </pre> 

 Add this as @ex_disks_gce_struct@ to @self.create_kwargs@.

Back