Basic config - needs work!
parent
92f19c8aea
commit
d713a1e526
|
|
@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue