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.
|
|
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:
-
Copy the backup file to the
datadirectory and name itcfos.conf.
When using an encrypted configuration file at startup, save the backup password in a file named
cfos.keyin the data directory.You may also restore a partial configuration using a
cfos-partial.conffile. -
Copy the Container FortiOS license file to the
datadirectory and name itcfos.lic.The license and configuration files are read and applied to the container when it runs, then deleted automatically.