Fortinet Document Library

Version:


Table of Contents

FortiGate-VM on VMware ESXi

Resources

Upgrade Path Tool
  • Select version:
  • 6.0
6.0.0
Download PDF
Copy Link

Create the Config Drive ISO

  1. Create the config-drive ISO using a utility such as xorriso. (Other utilities can be used to create ISOs such as mkisofs. Using xorriso this example refers to the config-drive directory created above with the relevant license file and configuration script. Here is an example of creating a config-drive ISO on an Ubuntu host:

    xorriso -as mkisofs -V config-2 -o Day0-CFG-Drive.iso config-drive/

    xorriso 1.3.2 : RockRidge filesystem manipulator, libburnia project.

    Drive current: -outdev 'stdio:Day0-CFG-Drive.iso'

    Media current: stdio file, overwriteable

    Media status : is blank

    Media summary: 0 sessions, 0 data blocks, 0 data, 14.3g free

    xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules

    Added to ISO image: directory '/'='/var/tmp/config-drive'

    xorriso : UPDATE : 5 files added in 1 seconds

    xorriso : UPDATE : 5 files added in 1 seconds

    ISO image produced: 185 sectors

    Written to medium : 185 sectors at LBA 0

    Writing to 'stdio:Day0-CFG-Drive.iso' completed successfully.

     

    ls -l Day0-CFG-Drive.iso

    -rw-rw-r-- 1 fgt-user fgt-user 378880 Feb 15 13:32 Day0-CFG-Drive.iso

  2. Now that the configuration drive has been created, place the ISO on the data store so that it can be used with FortiGate VMs.

  3. Deploy the FortiGate VM using an OVF template.

  4. Accept the EULA, define your storage policy along with the virtual disk format, and pick the network configuration. Once you reach the end of the OVF template deployment make sure to deselect Power on after deployment. This is so we can attach our config-drive ISO as a cdrom device before initial boot.

  5. Edit the virtual machine settings.

  6. Add a new device: CD/DVD drive and make sure to select Connect at power on.

  7. Then attach the Day0-CFG-Drive.iso ISO you created earlier.

     

  8. Complete your changes then navigate to the VM to boot it.

Resources

Create the Config Drive ISO

  1. Create the config-drive ISO using a utility such as xorriso. (Other utilities can be used to create ISOs such as mkisofs. Using xorriso this example refers to the config-drive directory created above with the relevant license file and configuration script. Here is an example of creating a config-drive ISO on an Ubuntu host:

    xorriso -as mkisofs -V config-2 -o Day0-CFG-Drive.iso config-drive/

    xorriso 1.3.2 : RockRidge filesystem manipulator, libburnia project.

    Drive current: -outdev 'stdio:Day0-CFG-Drive.iso'

    Media current: stdio file, overwriteable

    Media status : is blank

    Media summary: 0 sessions, 0 data blocks, 0 data, 14.3g free

    xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules

    Added to ISO image: directory '/'='/var/tmp/config-drive'

    xorriso : UPDATE : 5 files added in 1 seconds

    xorriso : UPDATE : 5 files added in 1 seconds

    ISO image produced: 185 sectors

    Written to medium : 185 sectors at LBA 0

    Writing to 'stdio:Day0-CFG-Drive.iso' completed successfully.

     

    ls -l Day0-CFG-Drive.iso

    -rw-rw-r-- 1 fgt-user fgt-user 378880 Feb 15 13:32 Day0-CFG-Drive.iso

  2. Now that the configuration drive has been created, place the ISO on the data store so that it can be used with FortiGate VMs.

  3. Deploy the FortiGate VM using an OVF template.

  4. Accept the EULA, define your storage policy along with the virtual disk format, and pick the network configuration. Once you reach the end of the OVF template deployment make sure to deselect Power on after deployment. This is so we can attach our config-drive ISO as a cdrom device before initial boot.

  5. Edit the virtual machine settings.

  6. Add a new device: CD/DVD drive and make sure to select Connect at power on.

  7. Then attach the Day0-CFG-Drive.iso ISO you created earlier.

     

  8. Complete your changes then navigate to the VM to boot it.