ONETEMPLATE(1) onetemplate(1) -- manages OpenNebula templates ONETEMPLATE(1)
NAME
onetemplate
SYNOPSIS
onetemplate command [args] [options]
OPTIONS
-n, --name vm_name Name of the new Virtual Machine. When instantiating
multiple VMs you can use the"%i" wildcard to produce
different names such as vm-0, vm-1...
-m, --multiple x Instance multiple VMs
-l, --list x,y,z Selects columns to display with list command
-d, --delay x Sets the delay in seconds for top command
-x, --xml Show the resource in xml format
-n, --numeric Do not translate user and group IDs
-v, --verbose Verbose mode
-h, --help Show this message
-V, --version Show version and copyright information
COMMANDS
o create file
Creates a new Template from the given template file
o delete range|templateid_list
Deletes the given Image
o instantiate templateid
Creates a new VM instance from the given Template. This VM can be
managed with the 'onevm' command
valid options: vm_name, multiple
o publish range|templateid_list
DEPRECATED, use chmod instead. Publishes the given Template. A public
Template can be seen and instantiated by other users in the Template's
group.
o unpublish range|templateid_list
DEPRECATED, use chmod instead. Unpublishes the given Template. A private
Template can't be instantiated by any other user.
o chgrp range|templateid_list groupid
Changes the Template group
o chown range|templateid_list userid [groupid]
Changes the Template owner and group
o chmod range|templateid_list octet
Changes the Template permissions
o update templateid
Launches the system editor to modify and update the template contents
o list [filterflag]
Lists Templates in the pool
valid options: list, delay, xml, numeric
o show templateid
Shows information for the given Template
valid options: xml
o top [filterflag]
Lists Templates continuously
valid options: list, delay, xml, numeric
ARGUMENT FORMATS
o file
Path to a file
o range
List of id's in the form 1,8..15
o text
String
o groupid
OpenNebula GROUP name or id
o userid
OpenNebula USER name or id
o templateid
OpenNebula VMTEMPLATE name or id
o templateid_list
Comma-separated list of OpenNebula VMTEMPLATE names or ids
o filterflag
a, all all the known VMTEMPLATEs
m, mine the VMTEMPLATE belonging to the user in ONE_AUTH
g, group 'mine' plus the VMTEMPLATE belonging to the groups
the user is member of
uid VMTEMPLATE of the user identified by this uid
user VMTEMPLATE of the user identified by the username
LICENSE
OpenNebula 3.4.1 Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may
obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
April 2012 ONETEMPLATE(1)