-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate-variables.yaml
More file actions
121 lines (108 loc) · 1.95 KB
/
template-variables.yaml
File metadata and controls
121 lines (108 loc) · 1.95 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# Values that can be considered "secrets", provided in this file are exemplary
# secret-variables.yaml file with appropriate overrides should be created
#
# Take a look at common/template-variables.yaml
# to see some docs and examples
hostname: tvswitch
#security:
# root_password: ...
#
# ssh:
# keys:
# - ...
#
#letsencrypt:
# enabled: false
# domain: ...
# acme:
# email: ...
# route53:
# access_key_id: ...
# access_key_secret: ...
networks:
lan:
proto: none
device: switch
vlan:
id: 99
ports:
# mainrouter
- lan1:t
# tv
- lan2
# mainswitch
- lan3:t
- lan4
- lan5
- lan6
- lan7
- lan8
guest:
proto: none
device: switch
vlan:
id: 20
ports:
# mainrouter
- lan1:t
# mainswitch
- lan3:t
iot:
proto: none
device: switch
vlan:
id: 30
ports:
# mainrouter
- lan1:t
# mainswitch
- lan3:t
iot_int:
proto: none
device: switch
vlan:
id: 31
ports:
# mainrouter
- lan1:t
# mainswitch
- lan3:t
cluster:
proto: none
device: switch
vlan:
id: 40
ports:
# mainrouter
- lan1:t
admin:
proto: dhcp
device: switch
vlan:
id: 80
ports:
# mainrouter
- lan1:t
# mainswitch
- lan3:t
wan:
proto: none
device: switch
vlan:
id: 90
ports:
# mainrouter
- lan1:t
# mainswitch
- lan3:t
dhcp:
default_dns_server: 192.168.80.1
custom_commands: |-
# Delete the default VLAN configuration, we have our own
uci del network.lan_vlan
uci del network.lan.ip6assign
# Apply changes
/etc/init.d/network restart
# Get rid of firewall that's not needed on just a switch
/etc/init.d/firewall disable
/etc/init.d/firewall stop || true