summaryrefslogtreecommitdiffstats
path: root/scripts/host-show-batch.sh
blob: 74439ffa57400cbdaea3498779c2a4c8dc965b23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh +x

. ./include.sh

curl\
  -H "Content-Type: application/json"\
  -H "Accept: applicaton/json"\
  --delegation always\
  --negotiate -u :\
  --cacert /etc/ipa/ca.crt\
  -d @json/host-show-batch.json\
  -X POST\
  $IPA_JSON_URL