diff --git a/.release/linux/package/etc/nomad.d/nomad.hcl b/.release/linux/package/etc/nomad.d/nomad.hcl index 74656e427..73893ae01 100644 --- a/.release/linux/package/etc/nomad.d/nomad.hcl +++ b/.release/linux/package/etc/nomad.d/nomad.hcl @@ -4,8 +4,8 @@ data_dir = "/opt/nomad/data" bind_addr = "0.0.0.0" server { - # license_path is required as of Nomad v1.1.1+ - #license_path = "/opt/nomad/license.hclic" + # license_path is required for Nomad Enterprise as of Nomad v1.1.1+ + #license_path = "/etc/nomad.d/license.hclic" enabled = true bootstrap_expect = 1 } diff --git a/website/content/docs/commands/index.mdx b/website/content/docs/commands/index.mdx index 581fa142f..061723994 100644 --- a/website/content/docs/commands/index.mdx +++ b/website/content/docs/commands/index.mdx @@ -118,6 +118,6 @@ flags. #### Nomad Enterprise Licensing Environment Variables - `NOMAD_LICENSE_PATH` - An absolute path to a Nomad Enterprise license file, - for example `/opt/nomad/license.hclic`. + for example `/etc/nomad.d/license.hclic`. - `NOMAD_LICENSE` - The Nomad Enterprise license file contents as a string. diff --git a/website/content/docs/configuration/server.mdx b/website/content/docs/configuration/server.mdx index 515549ccc..7a0d84a04 100644 --- a/website/content/docs/configuration/server.mdx +++ b/website/content/docs/configuration/server.mdx @@ -156,10 +156,11 @@ server { the number of CPU cores. - `license_path` `(string: "")` - Specifies the path to load a Nomad Enterprise - license from. This must be an absolute path (`/opt/nomad/license.hclic`). The - license can also be set by setting `NOMAD_LICENSE_PATH` or by setting - `NOMAD_LICENSE` as the entire license value. `license_path` has the highest - precedence, followed by `NOMAD_LICENSE` and then `NOMAD_LICENSE_PATH`. + license from. This must be an absolute path + (ex. `/etc/nomad.d/license.hclic`). The license can also be set by setting + `NOMAD_LICENSE_PATH` or by setting `NOMAD_LICENSE` as the entire license + value. `license_path` has the highest precedence, followed by `NOMAD_LICENSE` + and then `NOMAD_LICENSE_PATH`. - `plan_rejection_tracker` ([PlanRejectionTracker](#plan_rejection_tracker-parameters)) - Configuration for the plan rejection tracker that the Nomad leader uses to