summaryrefslogtreecommitdiffstats
path: root/scripts/batch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/batch.sh')
-rwxr-xr-xscripts/batch.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/batch.sh b/scripts/batch.sh
new file mode 100755
index 0000000..a59274c
--- /dev/null
+++ b/scripts/batch.sh
@@ -0,0 +1,12 @@
+#!/bin/sh +x
+
+. ./include.sh
+
+curl -v\
+ -H "Content-Type: application/json"\
+ -H "Accept: applicaton/json"\
+ --negotiate -u :\
+ --cacert /etc/ipa/ca.crt\
+ -d @dns-cluster-1.json\
+ -X POST\
+ $IPA_JSON_URL