Help to kickstart and realm join AD
Posted: 2016/05/03 23:54:34
I am having issue joining our machines via kickstart script. I have this in the script:
The anaconda log shows it fails dependencies:
However, I have all the required packages installed earlier in the kickstart script. In fact I can run the exact same command after kickstart (when the server boot up) without any errors to successfully join the domain.
Does anyone know a way to work this out via non-interactive kickstart so I don't run the command manually? Thanks
Code: Select all
%post
echo "myPassword" | realm join mydomain.test.com -U Administrator
%end
Code: Select all
INFO program: Password for Administrator: See: journalctl REALMD_OPERATION=r337.45689
INFO program: realm: Couldn't join realm: Necessary packages are not installed: oddjob, oddjob-mkhomedir, sssd, adcli
Does anyone know a way to work this out via non-interactive kickstart so I don't run the command manually? Thanks