Skip to content

Commit

Permalink
configure: add maxmind_license
Browse files Browse the repository at this point in the history
  • Loading branch information
gsanchietti committed Sep 11, 2024
1 parent 5b01a06 commit e4c13ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions imageroot/actions/configure-module/20configure
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ with open('config.env', 'w') as env:
env.write(f'VALID_SUBSCRIPTION=true\n')
else:
env.write(f'VALID_SUBSCRIPTION=false\n')
if 'maxmind_license' in request:
env.write(f'MAXMIND_LICENSE={request["maximind_license"]}\n')

server_address = request["ovpn_network"].removesuffix('.0') + '.1'
with open('promtail.env', 'w') as promtail:
Expand Down

0 comments on commit e4c13ec

Please sign in to comment.