Fortinet white logo
Fortinet white logo
7.2.1

Specifying startup configuration

Specifying startup configuration

You may specify a license and configuration to be applied when the container is created. The license must be provided for the configuration to be applied.

Caution

You may specify either a full configuration file or a partial configuration file, but not both.

Full configuration file

A full backup configuration file can be exported from a running container:

exec config backup <file name> [password]

The full configuration file must be encrypted with a password in order to be applied to a container with a different data directory.

Partial configuration file

A partial configuration file can be applied at startup, but it cannot be encrypted.

Specifying configuration and license at startup

To specify configuration and license at startup:
  1. Copy the backup file to the data directory and name it cfos.conf.

    Tooltip

    When using an encrypted configuration file at startup, save the backup password in a file named cfos.key in the data directory.

    You may also restore a partial configuration using a cfos-partial.conf file.

  2. Copy the Container FortiOS license file to the data directory and name it cfos.lic.

    The license and configuration files are read and applied to the container when it runs, then deleted automatically.

Specifying startup configuration

Specifying startup configuration

You may specify a license and configuration to be applied when the container is created. The license must be provided for the configuration to be applied.

Caution

You may specify either a full configuration file or a partial configuration file, but not both.

Full configuration file

A full backup configuration file can be exported from a running container:

exec config backup <file name> [password]

The full configuration file must be encrypted with a password in order to be applied to a container with a different data directory.

Partial configuration file

A partial configuration file can be applied at startup, but it cannot be encrypted.

Specifying configuration and license at startup

To specify configuration and license at startup:
  1. Copy the backup file to the data directory and name it cfos.conf.

    Tooltip

    When using an encrypted configuration file at startup, save the backup password in a file named cfos.key in the data directory.

    You may also restore a partial configuration using a cfos-partial.conf file.

  2. Copy the Container FortiOS license file to the data directory and name it cfos.lic.

    The license and configuration files are read and applied to the container when it runs, then deleted automatically.