no tls on adm
This commit is contained in:
parent
8d06dbd35d
commit
9a567c8fb2
1 changed files with 1 additions and 2 deletions
3
main.py
3
main.py
|
@ -11,7 +11,6 @@ import os
|
||||||
|
|
||||||
|
|
||||||
path =(os.path.dirname(os.path.abspath(__file__)))
|
path =(os.path.dirname(os.path.abspath(__file__)))
|
||||||
|
|
||||||
config = ConfigParser()
|
config = ConfigParser()
|
||||||
config.read(path+'/config.ini')
|
config.read(path+'/config.ini')
|
||||||
|
|
||||||
|
@ -326,7 +325,7 @@ def write_dns_reverse_file(api_client):
|
||||||
f.write(zone_file_content)
|
f.write(zone_file_content)
|
||||||
zone_v6.append(zone6_name)
|
zone_v6.append(zone6_name)
|
||||||
|
|
||||||
api_client = Re2oAPIClient(api_hostname, api_username, api_password, use_tls=True)
|
api_client = Re2oAPIClient(api_hostname, api_username, api_password, use_tls=False)
|
||||||
|
|
||||||
client_hostname = socket.gethostname().split('.', 1)[0]
|
client_hostname = socket.gethostname().split('.', 1)[0]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue