general_config_templates/vyos-peering-router.j2

54 lines
1002 B
Django/Jinja

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
}
}
}
}