Use fact that exists
This commit is contained in:
parent
6a8671fa3e
commit
c7b74c27fc
|
@ -3,7 +3,7 @@ log syslog all;
|
|||
|
||||
# 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.
|
||||
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
|
||||
# routes and it only serves as a module for getting information about network
|
||||
|
|
Loading…
Reference in a new issue