summaryrefslogtreecommitdiffstats
path: root/scripts/entitle-import.sh
blob: 8f53868bba22138eef258c5da06ff6c69e7362fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh +x

. ./include.sh

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