Skip to content

Latest commit

 

History

History
38 lines (34 loc) · 1.66 KB

proc_adding-vmware-images-to-server.adoc

File metadata and controls

38 lines (34 loc) · 1.66 KB

Adding VMware Images to {ProjectServer}

VMware vSphere uses templates as images for creating new virtual machines. If using image-based provisioning to create new hosts, you need to add VMware template details to your {ProjectServer}. This includes access details and the template name.

To use the CLI instead of the {ProjectWebUI}, see the CLI procedure.

Procedure
  1. In the {ProjectWebUI}, navigate to Infrastructure > Compute Resources.

  2. Select your Vmware compute resource.

  3. Click Create Image.

  4. In the Name field, enter a name for the image.

  5. From the Operating System list, select the base operating system of the image.

  6. From the Architecture list, select the operating system architecture.

  7. In the Username field, enter the SSH user name for image access. By default, this is set to root.

  8. If your image supports user data input such as cloud-init data, click the User data checkbox.

  9. Optional: In the Password field, enter the SSH password to access the image.

  10. From the Image list, select an image from VMware.

  11. Click Submit to save the image details.

CLI procedure
  • Create the image with the hammer compute-resource image create command. Use the --uuid field to store the relative template path on the vSphere environment:

    # hammer compute-resource image create \
    --architecture "My_Architecture" \
    --compute-resource "My_VMware"
    --name "My_Image" \
    --operatingsystem "My_Operating_System" \
    --username root \
    --uuid "My_UUID"