Use fact that exists

This commit is contained in:
Patrik Lundin 2024-10-28 13:34:59 +01:00
parent 6a8671fa3e
commit c7b74c27fc
Signed by: patlu
GPG key ID: A0A812BA2249F294

View file

@ -3,7 +3,7 @@ log syslog all;
# Set router ID. It is a unique identification of your router, usually one of # Set router ID. It is a unique identification of your router, usually one of
# IPv4 addresses of the router. It is recommended to configure it explicitly. # IPv4 addresses of the router. It is recommended to configure it explicitly.
router id <%= @facts['networking']['interfaces']['default']['ip'] %>; router id <%= $facts['networking']['ip'] %>;
# The Device protocol is not a real routing protocol. It does not generate any # The Device protocol is not a real routing protocol. It does not generate any
# routes and it only serves as a module for getting information about network # routes and it only serves as a module for getting information about network