2023-02-23 11:47:58 +00:00
|
|
|
#!/bin/sh -eux
|
|
|
|
|
2024-11-15 12:51:36 +00:00
|
|
|
dnshost="$(echo "import socket; print(socket.gethostbyaddr('$(hostname)')[0])" | "$(command -v python3)")"
|
2023-02-23 11:47:58 +00:00
|
|
|
systemctl unmask gssproxy
|
2024-11-14 22:13:27 +00:00
|
|
|
ipa-server-install --hostname=${dnshost} -r EXAMPLE.TEST -n example.test --setup-dns --no-forwarders --allow-zone-overlap -p Secret123 -a Secret123 -U
|
2023-02-23 11:47:58 +00:00
|
|
|
echo Secret123 | kinit admin
|
|
|
|
ipa config-show
|
|
|
|
ipa-server-install --uninstall -U
|
|
|
|
|