Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am sethlyons on github.
  • I am sethlyons (https://keybase.io/sethlyons) on keybase.
  • I have a public key ASBBn9rioe2CeyrDgkQAd1P1QGFudKzNFtxSMqgOqJkF2Qo

To claim this, I am signing this object:

#!/usr/bin/env bash
# 1. collect existing hostgroups with `ipa hostgroup-find > <file>
# 2. copy <file> to new IPA server (with new REALM)
# 3. run `import_hostgroups.sh <file>` on new IPA server after running
# `ipa-client-install --uninstall` to remove the existing IPA
# config, and then running `ipa-client-install <new IPA info>` to
# enroll the client in the new IPA server.
progname=${0##*/}