Integrating virtualmin installation into kickstart

I’m attempting to call the virtualmin from a CentOS 5.1 kickstart %post.

It installs, but there are several issues:

  • The FQDN that it forces to be set isn’t saved anywhere. The hostname will still be localhost.localdomain when the system comes up.
  • Quotas and Postgres both fail to initialize at boot.

Far more severe:

  • perl-Authen-PAM isn’t installed, preventing webmin from doing any authentications.

Anyone have a working kickstart %post for installing virtualmin? I need the thing on the system so that when our customer upgrades to Virtualmin Pro we don’t have to install it.

Lack of Kickstart support seems to be a big hole in Virtualmin’s support…