ovmtlibrary [-V] [-h | -H] ovmtlibrary -c init [-f] [-q | -v] -l library ovmtlibrary -c store [-d description] [-f] -l library [-n template-name] -o URI [-q | -v] ovmtlibrary -c list [-a | -p | -o | -t type] -l library [-m] [-n template-name | -i template-id] [-q | -v] [-s [-e event-id]]
The ovmtlibrary command enables you to manage Oracle VM templates information in the following ways:
-c init initializes the library
-c store stores a template
-c list lists templates
The template archive file that is used to store templates requires the following:
A file extension of .ova
An XML configuration file that has a file extension of .ovf
At least one IMG or ISO compressed disk image
At this time, the ovmtlibrary command can support templates only for disk images with the extension .img. So, ensure that you create disk images with the .img extension if you want to manage the template library with the ovmtlibrary command.
Note that an event ID is printed when you store a template. You can use this ID to check the status of a store operation.
Run the ovmtlibrary command as superuser on a system that runs at least the Oracle Solaris 11.1 OS and that has sqlite3 installed.
The ovmtlibrary command includes the following options:
Lists all versions of the specified template or templates. By default, only the latest version is shown.
Initializes the template library.
Stores a template in the library.
Lists templates in the library.
Specifies a template description.
Specifies the event ID for which to show the status of a store operation.
Forces an overwrite of an existing library.
Shows the help message.
Specifies the ID of the template to list.
Specifies the path to template library.
Produces output in machine-parseable format.
Specifies the template name.
For the store operation, this option specifies the template name to store. By default, the OVF name is used if this option is not specified.
For the list operation, this option specifies the template name to list. By default, the latest versions of all templates are shown.
Specifies the URI of the template object to store. Valid URI values include file://, http://, and ftp://.
Lists the objects for the specified template. You must specify the template name or template ID. If you specify a template name, only the objects in its latest version are listed.
Shows property information for the template ID that you specify with the –i option.
Suppresses headers and messages.
Shows event status.
Specify an object type for a specified template. You must also specify the related template name or template ID.
Shows detailed information.
Shows version information about this command.
The following exit values are returned:
Successful completion.
An error occurred. Property value not set or property not found.
A usage error occurred.
See the attributes(5) man page for a description of the following attributes.
|
ovmtconfig(1M), ovmtcreate(1M), ovmtdeploy(1M), attributes(5)