(disk_list, name, disk_type, disk_size, src_image,
                    autodelete)
return boot_disk + disk_list
Appends the boot disk.
Appends the boot disk.
Appends the boot disk .
def PrependBootDisk(disk_list, name, disk_type, disk_size, src_image,
                    autodelete):
  """Appends the boot disk."""
  # Request boot disk creation (mark for autodelete)
  boot_disk = [{
      'autoDelete': autodelete,
      'boot': True,
      'deviceName': name,
      'initializeParams': {
          'diskType': disk_type,
          'diskSizeGb': disk_size,
          'sourceImage': src_image
      },
      'type': DEFAULT_PERSISTENT,
  }]
  return boot_disk + disk_list
def PrependBootDisk ( disk_list , name , disk_type , disk_size , src_image , autodelete ) : # Request boot disk creation (mark for autodelete) boot_disk = [ { 'autoDelete' : autodelete , 'boot' : True , 'deviceName' : name , 'initializeParams' : { 'diskType' : disk_type , 'diskSizeGb' : disk_size , 'sourceImage' : src_image } , 'type' : DEFAULT_PERSISTENT , } ] return boot_disk + disk_list