From be6d05b075aa8d1a382284b7e5b87e0c0b1958e1 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Thu, 5 Jan 2023 15:56:37 +0100 Subject: [PATCH] fup --- .../alpine/templates/conf/matchbox/init.d/matchbox.pktpl.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/alpine/templates/conf/matchbox/init.d/matchbox.pktpl.hcl b/recipes/alpine/templates/conf/matchbox/init.d/matchbox.pktpl.hcl index 6f47f95..6652098 100644 --- a/recipes/alpine/templates/conf/matchbox/init.d/matchbox.pktpl.hcl +++ b/recipes/alpine/templates/conf/matchbox/init.d/matchbox.pktpl.hcl @@ -17,7 +17,7 @@ start_pre() { /run/$RC_SVCNAME /var/log/$RC_SVCNAME if [ ! -f "/etc/matchbox/server.crt" ]; then cd /root/tls - export SAN="DNS.1:${Vars.MatchBox.URL},IP.1:${Vars.ETH0.IP}" + export SAN="DNS.1:${Vars.MatchBox.Hostname},IP.1:${Vars.ETH0.IP}" ./cert-gen mkdir -p /etc/matchbox cp ca.crt server.crt server.key /etc/matchbox