diff --git a/README.md b/README.md index 05258e5..200aeb0 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,6 @@ You can read more about Nebula [on the official repo](https://github.com/slackhq nebula_network_name: "Company Nebula Mgmt Net" nebula_network_cidr: 16 - nebula_lighthouse_hostname: lighthouse nebula_lighthouse_internal_ip_addr: 10.43.0.1 nebula_lighthouse_public_hostname: lighthouse.company.com nebula_lighthouse_public_port: 4242 diff --git a/templates/lighthouse_config.yml.j2 b/templates/lighthouse_config.yml.j2 index 7d4f7b0..b35a8b1 100644 --- a/templates/lighthouse_config.yml.j2 +++ b/templates/lighthouse_config.yml.j2 @@ -2,8 +2,8 @@ pki: # every node needs a copy of ca.crt, .key, # and .crt ca: /opt/nebula/ca.crt - cert: /opt/nebula/lighthouse.crt - key: /opt/nebula/lighthouse.key + cert: /opt/nebula/{{ nebula_lighthouse_hostname }}.crt + key: /opt/nebula/{{ nebula_lighthouse_hostname }}.key static_host_map: # how to find one or more lighthouse nodes