summaryrefslogtreecommitdiffstats
path: root/scripts/designate_import.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/designate_import.py')
-rwxr-xr-xscripts/designate_import.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/designate_import.py b/scripts/designate_import.py
index df09f50..9b0fc7d 100755
--- a/scripts/designate_import.py
+++ b/scripts/designate_import.py
@@ -43,12 +43,15 @@ def main():
print("Usgae: {} input_file [auth_url username password tenant]".format(sys.argv[0]))
exit(1)
if len(sys.argv) == 6:
- print("Creating DNS records using record defs from {}, authurl {}, usernaem {}, tenant {}".format(
+ print("Creating DNS records using record defs from {}, authurl {}, username {}, tenant {}".format(
sys.argv[1], sys.argv[2], sys.argv[3], sys.argv[5]))
else:
- print("Creating DNS records using record defs from {}, authurl {}, usernaem {}, tenant {}".format(
+ print("Creating DNS records using record defs from {}, authurl {}, username {}, tenant {}".format(
shell.env('OS_AUTH_URL'), shell.env('OS_USERNAME'), shell.env('OS_PASSWORD'), shell.env('OS_PROJECT_NAME')))
+ print("Usage: {} disabled until changed".format(sys.argv[0]))
+ exit(1)
+
inputfilepath = sys.argv[1]
auth = ""