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 }