DNS going off config, not hardcoded
This commit is contained in:
parent
ff493455b3
commit
dbff960aad
1 changed files with 0 additions and 10 deletions
|
|
@ -130,16 +130,6 @@ def terminate_system_connection(
|
||||||
if shutil.which('nmcli') is None:
|
if shutil.which('nmcli') is None:
|
||||||
raise CommandNotFoundError('nmcli')
|
raise CommandNotFoundError('nmcli')
|
||||||
|
|
||||||
# print("inside terminate_system_connection about to do firewall and dns")
|
|
||||||
|
|
||||||
# if firewall_setting is None:
|
|
||||||
# firewall_setting = get_firewall_setting()
|
|
||||||
|
|
||||||
# if dns_setting is None:
|
|
||||||
# dns_setting = get_dns_setting()
|
|
||||||
|
|
||||||
print(f"Got firewall and dns: {firewall_setting} and {dns_setting}")
|
|
||||||
|
|
||||||
# ====== FIREWALL =======
|
# ====== FIREWALL =======
|
||||||
if firewall_setting:
|
if firewall_setting:
|
||||||
check_and_kill_firewall() # on failure, this raises errors, which then bubble up
|
check_and_kill_firewall() # on failure, this raises errors, which then bubble up
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue