generate local config
This commit is contained in:
2
wg.mk
2
wg.mk
@@ -20,3 +20,5 @@ wgkeys.rec: wireguard/dmz_public_key
|
|||||||
git commit -m"add wireguard key for $(name)"
|
git commit -m"add wireguard key for $(name)"
|
||||||
$(info Remember to git push)
|
$(info Remember to git push)
|
||||||
|
|
||||||
|
wireguard/dmz.conf: xecut/nimbus/dmz.conf | wireguard/dmz_private_key
|
||||||
|
sed 's/PRIVATE_KEY/$(shell cat $|)/' $< > $@
|
||||||
|
|||||||
Reference in New Issue
Block a user