How to use hammer to set boot order while provisioning VMware virtual machines?

Solution In Progress - Updated -

Issue

  • While creating a compute profile usinghammer compute-profile values create command, there is no boot_order attribute to specify.

    # hammer compute-profile values create --help
    VMware:
    --volume:
      name
      storage_pod         Storage Pod ID from VMware
      datastore           Datastore ID from VMware
      mode                persistent/independent_persistent/independent_nonpersistent
      size_gb             Integer number, volume size in GB
      thin                true/false
      eager_zero          true/false
      controller_key      Associated SCSI controller key
    
    --interface:
      compute_type        Type of the network adapter, for example one of:
                            VirtualVmxnet3
                            VirtualE1000
                          See documentation center for your version of vSphere to find more details about available adapter types:
                            https://www.vmware.com/support/pubs/
      compute_network     Network ID or Network Name from VMware
    
    --compute-attributes:
      cluster              Cluster ID from VMware
      corespersocket       Number of cores per socket (applicable to hardware versions < 10 only)
      cpus                 CPU count
      memory_mb            Integer number, amount of memory in MB
      path                 Path to folder
      resource_pool        Resource Pool ID from VMware
      firmware             automatic/bios/efi
      guest_id             Guest OS ID form VMware
      hardware_version     Hardware version ID from VMware
      memoryHotAddEnabled  Must be a 1 or 0, lets you add memory resources while the machine is on
      cpuHotAddEnabled     Must be a 1 or 0, lets you add CPU resources while the machine is on
      add_cdrom            Must be a 1 or 0, Add a CD-ROM drive to the virtual machine
      annotation           Annotation Notes
      scsi_controllers     List with SCSI controllers definitions
                             type - ID of the controller from VMware
                             key  - Key of the controller (e.g. 1000)
    

Environment

  • Red Hat Satellite 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content