this should already work, if you extract it to custom params class, be sure to add mapping to the installer config file (like we do for discovery at https://github.com/theforeman/foreman-installer/commit/8e217f93d3f0b2965382d7a5a38a26e2b5a369b8)