WireGuard-Config ins ISO einbetten (wireguard/ Ordner, .gitignore)
- build-iso.sh erkennt Modell/Hostname aus user-data und sucht
passende Config in wireguard/{hostname}.conf oder wireguard/m{model}.conf
- user-data: late-commands kopieren wg0.conf vom Installationsmedium
nach /etc/wireguard/ und aktivieren wg-quick@wg0
- wireguard/ in .gitignore (keine Secrets im Repo)
This commit is contained in:
parent
0c784c7aed
commit
965236428c
3 changed files with 40 additions and 5 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
|||
*.iso
|
||||
.DS_Store
|
||||
wireguard/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue