diff wireguard.py @ 12:15c5ce7c74b5

refactor, cleanup, split large deploys
author drewp@bigasterisk.com
date Thu, 11 Nov 2021 23:31:21 -0800
parents 7e76e6dcc080
children 52156d3898c5
line wrap: on
line diff
--- a/wireguard.py	Thu Nov 11 22:46:32 2021 -0800
+++ b/wireguard.py	Thu Nov 11 23:31:21 2021 -0800
@@ -46,7 +46,7 @@
     # todo: if this was new, it should be added to a file of pubkeys that peer_block can refer to
 
     files.template(
-        src=f'templates/wireguard_{wireguard_interface}.conf.j2',
+        src=f'templates/wireguard/{wireguard_interface}.conf.j2',
         dest=f'/etc/wireguard/{wireguard_interface}.conf',
         mode='600',
         wireguard_ip=wireguard_ip,