From 64c62977bc8169a9cc09d37a561c13f1a18a138c Mon Sep 17 00:00:00 2001 From: Dan Ankers Date: Sat, 29 Jun 2024 13:56:43 +0100 Subject: [PATCH] Fix hostname --- juniper-macros.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/juniper-macros.j2 b/juniper-macros.j2 index 14544d8..49d3c1c 100644 --- a/juniper-macros.j2 +++ b/juniper-macros.j2 @@ -1,6 +1,6 @@ {% macro systemsection(device,root_pw,users,syslog_servers,ntp_servers) %} system { - host-name {{ device.hostname }}; + host-name {{ device.name }}; root-authentication { encrypted-password "{{ root_pw }}"; ## Client Higher }