Apologies here is my script

[root@dns01 ~]# cat setup.ipa.sh
#!/bin/sh
set -x

HOSTNAME=dns01
DOMAIN_NAME=int.mrmcmuffinz.com
HOST_FQDN="${HOSTNAME}.${DOMAIN_NAME}"
REALM_NAME=INT.MRMCMUFFINZ.com


# Directory Manager password
DM_PASSWORD="redacted"
# Admin user kerberos password
ADMIN_PASSWORD="redacted"
IP_ADDRESS=$(hostname -I|tr -d '\n')
DNS1=8.8.8.8
DNS2=8.8.4.4
REVERSE_ZONE_NAME="1.168.192.in-addr.arpa."

ipa-server-install --ds-password=${DM_PASSWORD} 
-admin-password=${ADMIN_PASSWORD} --ip-address=${IP_ADDRESS} \
                   --domain=${DOMAIN_NAME} --hostname=${HOST_FQDN} 
--realm=${REALM_NAME} \
                   --setup-dns --forwarder ${DNS1} --forwarder ${DNS2} 
--forward-policy=only --auto-reverse
_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org

Reply via email to