Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • tag_assign during VM provisioning

    Posted on

    Hello,

    I am trying to find a way how to assign a tag to a VM during provisioning.
    I copied ManageIQ/Cloud/Provisioning/StateMachines/Provision/default instance to my domain and added new post-provisioning method "AssignTag" to the schema.

    I have been trying to create a method that should assign a tag to a VM.

    Something like that.

    vm = $evm.root['vm']
    vm.tag_assign("data_center/london")

    but it finishes with error because I don't know a way how to fulfil vm variable.

    Could somebody provide a code example.

    Many thanks
    Karel

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat