Modified usr/local/bin/setourip
This commit is contained in:
@@ -30,7 +30,7 @@ def main():
|
|||||||
print(f"Ошибка: '{new_ip}' не является валидным IP-адресом.")
|
print(f"Ошибка: '{new_ip}' не является валидным IP-адресом.")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
file_txt = "/etc/haproxy/whitelist-our-ips.txt"
|
file_txt = "/etc/haproxy/whitelists/whitelist-our-ips.txt"
|
||||||
file_yaml = "/etc/crowdsec/parsers/s02-enrich/whitelist-our-ips.yaml"
|
file_yaml = "/etc/crowdsec/parsers/s02-enrich/whitelist-our-ips.yaml"
|
||||||
|
|
||||||
updated = False
|
updated = False
|
||||||
|
|||||||
Reference in New Issue
Block a user