This commit is contained in:
Jonas Forsberg
2021-10-14 11:12:33 +02:00
parent f116d87371
commit 5f7d7698e8
7 changed files with 76 additions and 29 deletions

5
salt/pillars/hostapd.sls Normal file
View File

@@ -0,0 +1,5 @@
hostapd:
country_code: SE
ssid: Transportable Lab Unit
channel: 6
wpa_passphrase: linux2linux

View File

@@ -4,11 +4,10 @@ network:
netaddress: 192.168.0.0
netmask: 24
ip: 192.168.0.1
ap: 192.168.0.2
wifipass: linux2linux
interface:
internal: eth0
bridge: br0
external: eth1
wireless: wlan0

View File

@@ -8,6 +8,7 @@ base:
- remote-desktop
- ssh
- wireguard
- hostapd
{% if salt['pillar.file_exists']('local.sls') %}
- local
{% endif %}