Problem
When attempting to install Terraform Enterprise using the airgapped option, the installation fails with an error License bootstrap failed: install license online: online installation in airgapped mode
Cause
This error occurs when the TFE installer tries to do an online installation in airgapped mode because the path to where the .airgap file resides was not specified in the configuration files.
Solution
Edit the /etc/replicated.conf
used for configuring your install and verify that the setting LicenseBootstrapAirgapPackagePath
points to a a valid .airgap
file.
Save the changes and reattempt the install.