mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
KRA: add --setup-kra to ipa-server-install
This patch allows to install KRA on first IPA server in one step using ipa-server-install This option improves containers installation where ipa-server can be installed with KRA using one call without need to call docker exec. Please note the the original `kra.install()` calls in ipaserver/install/server/install.py were empty operations as it did nothing, so it is safe to move them out from CA block https://pagure.io/freeipa/issue/6731 Reviewed-By: Jan Cholasta <jcholast@redhat.com> Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
This commit is contained in:
committed by
David Kupka
parent
ad3451067a
commit
4006cbbc02
@@ -47,8 +47,7 @@ steps:
|
||||
- dnf install -y ${container_working_dir}/dist/rpms/*.rpm --best --allowerasing
|
||||
install_server:
|
||||
- ipa-server-install -U --domain ${server_domain} --realm ${server_realm} -p ${server_password}
|
||||
-a ${server_password} --setup-dns --auto-forwarders
|
||||
- ipa-kra-install -p ${server_password}
|
||||
-a ${server_password} --setup-dns --setup-kra --auto-forwarders
|
||||
lint:
|
||||
- PYTHON=/usr/bin/python2 make V=0 lint
|
||||
- PYTHON=/usr/bin/python3 make V=0 pylint
|
||||
|
||||
Reference in New Issue
Block a user