-
Notifications
You must be signed in to change notification settings - Fork 8
/
chilli.yml
165 lines (164 loc) · 5.13 KB
/
chilli.yml
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
- hosts: builder
roles:
- openwisp.openwisp2-imagegenerator
vars:
basedir: /home/jenkins/workspace/nnxx-firmware
openwisp2fw_ssl_lib: mbedtls
openwisp2fw_source_dir: "{{ basedir }}/source"
openwisp2fw_generator_dir: "{{ basedir }}/generator"
openwisp2fw_bin_dir: /var/www/downloads.openwisp.org/nnxx-firmware/firmware/
openwisp2fw_source_repo: https://github.com/openwrt/openwrt.git
openwisp2fw_source_version: openwrt-18.06
openwisp2fw_source_targets:
- system: ar71xx
subtarget: generic
profile: Default
- system: ipq806x
profile: Default
- system: mvebu
subtarget: cortexa9
profile: Default
openwisp2fw_source_feeds:
- method: src-git
name: chilli
location: https://github.com/openwisp/coova-chilli-openwrt.git
branch: master
- method: src-git
name: openwisp
location: https://github.com/openwisp/openwisp-config.git
branch: master
- method: src-git
name: luciopenwisp
location: https://github.com/openwisp/luci-openwisp.git
branch: master
- method: src-git
name: packages
location: https://github.com/openwrt/packages.git
branch: openwrt-18.06
- method: src-git
name: luci
location: https://github.com/openwrt/luci.git
branch: openwrt-18.06
- method: src-git
name: targets
location: https://github.com/openwrt/targets.git
branch: master
- method: src-git
name: routing
location: https://github.com/openwrt-routing/packages.git
branch: openwrt-18.06
# packages compiled during compilation step
openwisp2fw_source_additional_packages:
- wpad
- iputils-ping
- ip-full
- wget
- partx-utils
- oonf-olsrd2
- luci
- luci-ssl
- iputils-ping
- ip-full
- iwinfo
- iperf3
- ipip
- kmod-ipip
# chilli
- coova-chilli
- lua-cjson
- rpcd-mod-iwinfo
# content filtering
- privoxy
- e2guardian
# WRT3200ACM:
#- kmod-mac80211
#- kmod-mmc
- kmod-mwifiex-sdio
- mwifiex-sdio-firmware
#- kmod-mwlwifi
# other OpenWRT/LEDE configurations
openwisp2fw_source_other_configs:
# busybox
- CONFIG_BUSYBOX_CUSTOM=y
- CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_SAVEHISTORY=y
- CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_SAVE_ON_EXIT=y
- CONFIG_BUSYBOX_CONFIG_FEATURE_REVERSE_SEARCH=y
- CONFIG_BUSYBOX_CONFIG_FEATURE_VI_UNDO=y
- CONFIG_BUSYBOX_CONFIG_WATCH=y
# olsrd2
- CONFIG_OONF_NHDP_AUTOLL4=y
- CONFIG_OONF_OLSRV2_LAN_IMPORT=y
# chilli
- CONFIG_COOVACHILLI_REDIR=y
- CONFIG_COOVACHILLI_OPENSSL=y
# workaround to avoid conflicts between wpad and wpad-mini
- "# CONFIG_PACKAGE_wpad-mini is not set"
# packages passed to "PACKAGES" flag of image builder (in the image building step)
openwisp2fw_default_packages:
- -ppp
- -ppp-mod-pppoe
- -wpad-mini
- wpad
- uhttpd
- uhttpd-mod-ubus
- openvpn-{{ openwisp2fw_ssl_lib }}
- openwisp-config-{{ openwisp2fw_ssl_lib }}
# packages used in the full flavour
nnxx_full_packages:
- iputils-ping
- ip-full
- wget
- partx-utils
- iputils-ping
- ip-full
- iwinfo
- iperf3
- ipip
- kmod-ipip
- libustream-{{ openwisp2fw_ssl_lib }}
- px5g
- luci-ssl
#- bind-client
# packages used in the chilli flavour
nnxx_chilli:
- coova-chilli
- lua-cjson
- rpcd-mod-iwinfo
content_filtering:
- privoxy
- e2guardian
olsrd2_packages:
- oonf-olsrd2
WRT3200ACM:
#- kmod-mac80211
#- kmod-mmc
- kmod-mwifiex-sdio
- mwifiex-sdio-firmware
#- kmod-mwlwifi
# packages used in flavours
base_packages: "{{ openwisp2fw_default_packages + nnxx_full_packages + olsrd2_packages }}"
hotspot_packages: "{{ openwisp2fw_default_packages + nnxx_full_packages + olsrd2_packages + nnxx_chilli + content_filtering }}"
# definition of available flavours
openwisp2fw_image_flavours:
base:
ar71xx:
packages: "{{ base_packages }}"
hotspot:
ar71xx:
packages: "{{ hotspot_packages }}"
ipq806x:
packages: "{{ hotspot_packages }}"
mvebu:
packages: "{{ hotspot_packages + WRT3200ACM }}"
# definition of organizations
default_openwisp2_url: https://openwisp.nnxx.ninux.org
openwisp2fw_organizations:
- name: basilicata
flavours:
- base
- hotspot
openwisp:
url: "{{ default_openwisp2_url }}"
shared_secret: Secretn1nuxB4s
unmanaged: "{{ openwisp2fw_default_unmanaged }}"
management_interface: "vpnbas"