rename OVH mitigation script

This commit is contained in:
Daniel Micay 2023-07-03 18:35:43 -04:00
parent 45c79b3909
commit affc4518da
3 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@ -3,5 +3,5 @@
/units/
/logs/
*.tmp
/mitigation.json
/ovh-mitigation.json
/venv/

View File

@ -1,4 +1,4 @@
#!/bin/bash
source venv/bin/activate
python3 mitigation.py "$@"
python3 ovh-mitigation.py "$@"

View File

@ -11,7 +11,7 @@ def err(*args, **kwargs):
if len(sys.argv) != 3:
err("expected 2 arguments")
with open("mitigation.json") as config:
with open("ovh-mitigation.json") as config:
config = json.load(config)
action = sys.argv[1]