fix wireguard client config
This commit is contained in:
parent
1b5b354cc9
commit
ad145c3ace
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ from ipaddress import ip_network, ip_interface
|
|||
|
||||
repo = Repository(dirname(dirname(realpath(__file__))))
|
||||
|
||||
server_node = repo.get_node(argv[2])
|
||||
server_node = repo.get_node(argv[1])
|
||||
data = server_node.metadata.get(f'wireguard/clients/{argv[2]}')
|
||||
|
||||
vpn_network = ip_interface(server_node.metadata.get('wireguard/my_ip')).network
|
||||
|
|
Loading…
Reference in a new issue