blob: 852905ef0c3f09afc159aa3bd967f83b2d9a2442 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
system {
host-name vyos
login {
user vyos {
authentication {
{% if cloud_init == "true" and not ( keep_user is defined and keep_user == "true" ) %}
encrypted-password "*"
{% else %}
encrypted-password "$6$MjV2YvKQ56q$QbL562qhRoyUu8OaqrXagicvcsNpF1HssCY06ZxxghDJkBCfSfTE/4FlFB41xZcd/HqYyVBuRt8Zyq3ozJ0dc."
{% endif %}
plaintext-password ""
}
{% if vyos_version | regex_search('(^1\.2)') %}
level admin
{% endif %}
}
}
syslog {
global {
facility all {
level notice
}
facility protocols {
level debug
}
}
}
ntp {
server "0.pool.ntp.org"
server "1.pool.ntp.org"
server "2.pool.ntp.org"
}
config-management {
commit-revisions 100
}
}
interfaces {
loopback lo {
}
}
|