Replace IP assignment with LOCAL_IP variable

This commit is contained in:
Joerg Heinemann 2026-02-04 08:31:44 +01:00 committed by GitHub
parent 57c3625acd
commit da4a366764
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,7 +47,7 @@ DeploymentType="standalone"
DeploymentType="standalone" DeploymentType="standalone"
FQDN=$(hostname -f) FQDN=$(hostname -f)
DomainName=$(hostname -d) DomainName=$(hostname -d)
IP=$(hostname -I | awk '{print $1}') IP=${LOCAL_IP}
LISTENER=":443" LISTENER=":443"
PKIName="MyHomePKI" PKIName="MyHomePKI"
PKIProvisioner="pki@$DomainName" PKIProvisioner="pki@$DomainName"