oakcli modify vmtemplate
Use the
oakcli modify vmtemplate
command to add networks to or delete
networks from an existing virtual machine template.
Syntax
oakcli modify vmtemplate vmtemplatename [-addnetwork|-
deletenetworkvlanname] [-h]
Parameters
Parameter
Description
-addnetworkvlanname
(Optional) Adds a VLAN network to the named virtual machine
template
-deketenetworkvlanname
(Optional) Deletes a VLAN network from the named virtual
machine template
-h
(Optional) Displays help for using the command.
Example 14-57 Modifying the Network Defined in a Virtual Machine Template
Replace the network assigned to the
gc_11g
virtual machine template with the
net1
network:
oakcli modify vmtemplate gc_11g -addnetwork net1
oakcli show vmtemplate
Use the
oakcli show vmtemplate
command to display information about virtual
machine templates.
Syntax
oakcli show vmtemplate [vmtemplate_name | -h]
Parameters
Parameter
Description
vmtemplate_name
(Optional) The name of the virtual template for which details
should be displayed. If you do not specify this parameter, then
information for all of the virtual templates is displayed.
-h
(Optional) Display help for using the command.
Example 14-58 Display Information About a Virtual Template
Display information about the
sample1_odarepo1
virtual template:
oakcli show vmtemplate sample_odarepo1
Resource: sample1_odarepo1
CPUPriority : 100
Disks : |file:/OVS/Repositories/odarepo1/Te
Chapter 14
oakcli Virtual Machine Template Commands
14-80
Summary of Contents for Database Appliance X6-2-HA
Page 15: ...Index xv...