VMware Aria Automation Tools

 View Only

 How provisioning a machine Windows and Linux in specifics datastores

Jump to  Best Answer
JPL's profile image
JPL posted Jan 20, 2025 03:18 AM

Hello all,

I want provisionning a machine Windows and Linux in specifics datastores

I try to use tag or storage profile but with no success because my Cloud Template has not disk 

formatVersion: 1
inputs:
resources:
  Cloud_vSphere_Machine_1:
    type: Cloud.vSphere.Machine
    properties:
      image: TemplateLinux
      flavor: light
      awaitIp: false
      awaitHostName: false
      customizeGuestOs: false

I deploy juste a image template. 

Existing a solution for deploying this template in a specifique datastore ?


Regards

DanielStastka's profile image
DanielStastka  Best Answer

Add Tag to each Storage and add following to Blueprint:

resources:
  Cloud_vSphere_Machine_1:
    type: Cloud.vSphere.Machine
    properties:
      storage:
        constraints:
          - tag: osstorage:winstorage

Inside Template/blueprint test your Template