Using the cell management tool to specify OVF ExtraConfig Keys
search cancel

Using the cell management tool to specify OVF ExtraConfig Keys

book

Article ID: 343141

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • A system administrator can create a system configuration setting that specifies one or more OVF ExtraConfig keys that can be included in OVF packages uploaded or downloaded by any user.
  • A user with the right "Preserve ExtraConfig Elements During OVF Import and Export if they match patterns specified by the system administrator in the 'vapp.allowed.extra.config' configuration property" can upload or download an OVF package that contains any of the ExtraConfigkey=value pairs in which the key is a value of the vapp.allowed.extra.config system configuration property.

Environment

VMware Cloud Director 10.6.x

Resolution

To enable ExtraConfigkey=value pairs in which the key is a value of the vapp.allowed.extra.config:

  1. SSH VMware Cloud Director Primary cell
  2. To enable the ExtraConfigkey=value run the command below:

    $VCLOUD_HOME/bin/cell-management-tool manage-config -n vapp.allowed.extra.config -v {ExtraConfigkey=value to enable}

    Below an example if you want to enable ExtraConfigkey=disk.enableUUID

    $VCLOUD_HOME/bin/cell-management-tool manage-config -n vapp.allowed.extra.config -v disk.enableUUID

  3. To simultaneously enable more than one ExtraConfigkey, list the value separated by comma like in the example below:

    $VCLOUD_HOME/bin/cell-management-tool manage-config -n vapp.allowed.extra.config -v smbios.assetTag,disk.enableUUID
  4. To apply the configuration change, you will need to restart the VCD cells. For additional information visit the documentation Perform an Orderly Shutdown and Startup of Your VMware Cloud Director Appliance Cluster
  5. To validate the configuration is applied run the command below:

    $VCLOUD_HOME/bin/cell-management-tool manage-config -n vapp.allowed.extra.config -l

Additional Information

For more information about specifying advanced virtual machine settings with ExtraConfig elements, see Specifying Advanced Virtual Machine Settings with ExtraConfig Elements

Below the command to run to revert the change to the default configuration:

$VCLOUD_HOME/bin/cell-management-tool manage-config -n vapp.allowed.extra.config -d