Don't take me wrong, but I think it would be better to just ship some simple script that would generate and set such hostname and make it's usage a recommended first step in the FreeIPA deployment guide/docs instead of making things more complicated in anaconda.