diff --git a/vyos-peering-router.j2 b/vyos-peering-router.j2 index 56baac7..4cb433d 100644 --- a/vyos-peering-router.j2 +++ b/vyos-peering-router.j2 @@ -1 +1,53 @@ -{{ hostname }} +interfaces { +{% for interface in interfaces %} + ethernet {{ interface['name'] }} { + address dhcp + } +{% endfor %} + loopback lo { + } +} +service { + ssh { + client-keepalive-interval 180 + port 22 + } +} +system { + config-management { + commit-revisions 100 + } + conntrack { + modules { + ftp + h323 + nfs + pptp + sip + sqlnet + tftp + } + } + host-name {{ hostname }} + login { + user vyos { + authentication { + encrypted-password **************** + public-keys cloud-init-b8c966d3-3faa-417d-b349-1746c8b6e5e6 { + key **************** + type ssh-rsa + } + } + } + } + syslog { + global { + facility all { + level notice + } + facility local7 { + level debug + } + } + } +}