From d1760d56e89e7d9594d706f51afd7602669fecd3 Mon Sep 17 00:00:00 2001 From: AndrewPaglusch Date: Thu, 26 Aug 2021 04:28:57 +0000 Subject: [PATCH] remove hard-coded filename --- README.md | 1 - templates/lighthouse_config.yml.j2 | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) 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