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

FORWARDER=`grep nameserver /etc/resolv.conf | head -1 | awk '{print $2;}'`
DOMAIN=`dnsdomainname`
REALM=${DOMAIN^^}

ipa-server-install\
  -d\
  -U\
  -r $REALM\
  -p Secret123\
  -a Secret123\
  --no-pkinit\
  --setup-dns\
  --forwarder $FORWARDER\
  --no-ntp