Adding right parameters to install IPA in TestInstallMasterReservedIPasForwarder

When installing ipa in interactive mode, it's necessary to provide the
hostname. This will make the test pass.

Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
Felipe Barreto 2018-03-26 19:43:13 -03:00 committed by Christian Heimes
parent d705320ec1
commit e7c4f77d0d

View File

@ -346,13 +346,15 @@ class TestInstallMasterReservedIPasForwarder(IntegrationTest):
server_install_options = (
"yes\n"
"{hostname}\n"
"{dmname}\n\n"
"{dm_pass}\n{dm_pass}"
"\n{admin_pass}\n{admin_pass}\n"
"yes\nyes\n0.0.0.0\n".format(
dm_pass=self.master.config.dirman_password,
admin_pass=self.master.config.admin_password,
dmname=self.master.domain.name))
dmname=self.master.domain.name,
hostname=self.master.hostname))
cmd = self.master.run_command(['ipa-server-install'],
stdin_text=server_install_options,