Embedding bootstrap configuration with cot inject-config

Synopsis

cot inject-config --help
cot <opts> inject-config PACKAGE [-o OUTPUT] [-c CONFIG_FILE]
                         [-s SECONDARY_CONFIG_FILE]
                         [-e EXTRA_FILE [EXTRA_FILE2 ...]]

Description

Add one or more "bootstrap" configuration file(s) to the given OVF or OVA. These files will be packaged into a virtual hard disk, or virtual CD-ROM, as appropriate to the target platform. Any specified primary and secondary config files will be renamed if necessary to meet expectations of the target platform, while any files provided with the --extra-files option will be included as-is and will not be renamed.

Options

PACKAGE
Package, OVF descriptor or OVA file to edit
-h, --help show this help message and exit
-o OUTPUT, --output OUTPUT
 Name/path of new VM package to create instead of updating the existing package
-c CONFIG_FILE, --config-file CONFIG_FILE
 Text file to embed as primary configuration
-s SECONDARY_CONFIG_FILE, --secondary-config-file SECONDARY_CONFIG_FILE
 Text file to embed as secondary configuration (currently only used for IOS XR admin config)
-e <EXTRA_FILE...>, --extra-files <EXTRA_FILE...>
 Additional file(s) to include as-is