This section describes how to bootstrap a FortiGate-VM in VMware vCenter using config drive. This guide is useful if you deploying VMs on VMware vCenter or standalone ESX and in need of a way to preconfigure the FortiGate-VM so that it boots with a predetermined configuration, and a valid license.
Make sure to verify the config drive functionality available for your FortiGate-VM version in the release notes. FortiGate-VM 5.4.1 and above support version 2 of the config-drive capabilities. Cloud-Init config drive was initially created for OpenStack and other cloud environments and is a capability available on the FortiGate-VM even when booting within a VMware vCenter or standalone ESX environment. Config drive also allows the administrator to pass both day zero configuration scripts and FGT-VM licenses to the FortiGate on initial boot.
To pass a config drive to the FGT-VM, first you must create a directory structure, and place the license file and configuration script file in the appropriate places. Here is the directory structure you will need:
For more information on the directory structure, see ESXi cloud init reference.