summaryrefslogtreecommitdiffstats
path: root/scripts/install-dogtag.sh
blob: 52e7c9aab02667b6efc387e79ee7f23c1bf66747 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh -x

IP_ADDRESS=`ifconfig eth0 | grep "inet " | awk '{print $2}'`
FORWARDER=`grep nameserver /etc/resolv.conf | awk '{print $2;}'`

ipa-server-install\
  -d\
  -U\
  -r REDHAT.COM\
  -n redhat.com\
  -p Secret123\
  -a Secret123\
  --no-pkinit\
  --setup-dns\
  --forwarder $FORWARDER\
  --no-ntp