Skip to content

[Enhancement] The ability to option-ize resource pools #5

Description

@jjasghar

Allow for the specific resource pools.

   38:       hosts = dc.hostFolder.children
    39:
    40:       # Specify where the machine is going to be created
    41:       relocate_spec = RbVmomi::VIM.VirtualMachineRelocateSpec
    42:       relocate_spec.host = options[:targethost]
 =>44:       relocate_spec.pool = hosts.first.resourcePool
    45:
    46:       clone_spec = RbVmomi::VIM.VirtualMachineCloneSpec(location: relocate_spec,
    47:                                                         powerOn: options[:poweron],
    48:                                                         template: false)

Get this out by v1.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions