Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
maxLevel3

...

Modify a virtual machine template

Include Page
doc:Modify a virtual machine template generaldoc:
Modify a virtual machine template general

...

Excerpt
nameShare VM templates

In the Catalogue view, shared templates are marked with the outstretched hand symbol. 

Panel

Privileges: Allow user to switch enterprises

By default, templates are local to the tenant that creates them (the "owner" enterprise). To share templates, assign scopes to them. 

Tip

Users who belong to the owner enterprise or enterprises in a template's scopes can display and use the template. 

To share a template with a scope:

  1. Go to Users → Scopes

  2. Create a scope

    1. For enterprises to use the template, select them in the scope

  3. Log in or switch to the enterprise that owns the template

  4. Go to Catalogue → Templates

  5. Edit a template

  6. Go to Scopes

  7. Select the scope

    1. To share the template with all enterprises, select Global scope

For more information, see Manage scopes and Manage resource scopes

Screenshot: To share a template with the enterprises in one or more scopes, select template scopes.

To remove enterprise access to a template, remove the scope containing the enterprise. 

  • You cannot remove a scope from the template if an enterprise in the scope is using the template, for example, if it has deployed VMs or instances of VMs. 

To make a template private to the owner enterprise, unselect all scopes.

In private cloud, the instances of shared templates belong to the enterprise that created them. When a template has instances, it is "in use" by the enterprises with instances. This may mean that you cannot delete a template without deleting or promoting the instances first.

When you make a shared template unavailable, other enterprises cannot deploy it, but it may not be marked as "unavailable" in the Catalogue of other enterprises until you refresh your Catalogue.

...

Excerpt
nameAdd a bootstrap script to a VM template

Add a bootstrap script to a VM template and the platform will add it to all VMs created from the template to use with the Cloud-init or similar options for Guest setup

Before you begin:

  1. Prepare a template that is compatible with cloud-init version 0.7.9 or above, or cloudbase-init, or a similar system

  2. In private cloud, the platform will create an ISO disk for Configuration drive

To add a VM bootstrap configuration or script:

  1. Go to Catalogue →  Edit VM template

  2. Go to Bootstrap

  3. Paste your configuration or script in the Bootstrap script text box

  4. Continue to configure the VM template or click Save to finish

Note: when you save VM disks to an instance template, Abiquo copies the VM bootstrap script to the instance template.

Insert excerpt
doc:VM bootstrap scriptdoc:
VM bootstrap script
nameTEXT bootstrap scripts
nopaneltrue

...

Excerpt
nameAdd cost codes for extra charges for a VM template

When you edit a VM template, you can add cost codes for extra charges for cloud billing.

Panel
bgColor#DEEBFF

Privileges: View virtual machine template extra charges, Manage virtual machine template extra charges

  1. Create cost codes for extra charges. See Manage extra charges with cost codes

    1. For the Type select VM template or All

  2. Set values for cost codes for extra charges. See Create a new pricing model

  3. Go to the Catalogue

  4. Edit a VM template

  5. Go to Extra charges with cost codes

  6. Add extra charges with cost codes as required

...

Add tags to a VM template

Excerpt
nameAdd tags to a VM template

When you edit a VM template, you can add tags to group resources and manage them in Control view.

To manage tags for a template:

  1. Go to Apps library → select a datacenter or public cloud region

  2. Go to Templates

  3. Edit a template

  4. Go to Tags

  5. Add tags 

    For more details see Edit resource tags

...


Manage VM templates with the API

Tip

API Documentation

For the Abiquo API documentation of this feature, see Abiquo API Resources and the page for this resource VirtualMachineTemplatesResource.

...