You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
idm/tests/sanity/runtest.sh

10 lines
380 B

#!/bin/sh -eux
dnshost="$(echo "import socket; print(socket.gethostbyaddr('$(hostname)')[0])" | "$(command -v python3)")"
systemctl unmask gssproxy
ipa-server-install --hostname=${dnshost} -r EXAMPLE.TEST -n example.test --setup-dns --no-forwarders --allow-zone-overlap -p Secret123 -a Secret123 -U
echo Secret123 | kinit admin
ipa config-show
ipa-server-install --uninstall -U