From ac879afe0cf4fa88577d7ccd11295261c193da5e Mon Sep 17 00:00:00 2001 From: Michal Hecko Date: Sat, 5 Oct 2024 18:06:47 +0200 Subject: [PATCH] add example rhui config --- etc/leapp/actor_conf.d/rhui.yml | 12 ++++++++++++ packaging/leapp-repository.spec | 1 + 2 files changed, 13 insertions(+) create mode 100644 etc/leapp/actor_conf.d/rhui.yml diff --git a/etc/leapp/actor_conf.d/rhui.yml b/etc/leapp/actor_conf.d/rhui.yml new file mode 100644 index 0000000000..d3ab5cbf9c --- /dev/null +++ b/etc/leapp/actor_conf.d/rhui.yml @@ -0,0 +1,12 @@ +rhui: + use_config : True + source_clients: [ rh-amazon-rhui-client ] + target_clients: [ rh-amazon-rhui-client ] + cloud_provider: aws + upgrade_files: + /usr/share/leapp-repository/repositories/system_upgrade/common/files/rhui/leapp-rhui-aws/rhui-client-config-server-9.crt : /etc/pki/rhui/product/ + /usr/share/leapp-repository/repositories/system_upgrade/common/files/rhui/leapp-rhui-aws/rhui-client-config-server-9.key : /etc/pki/rhui/private/ + /usr/share/leapp-repository/repositories/system_upgrade/common/files/rhui/leapp-rhui-aws/leapp-aws.repo : /etc/yum.repos.d/ + enabled_target_repositories: + - rhel-9-appstream-rhui-rpms + - rhel-9-baseos-rhui-rpms diff --git a/packaging/leapp-repository.spec b/packaging/leapp-repository.spec index 146afc456b..299393e128 100644 --- a/packaging/leapp-repository.spec +++ b/packaging/leapp-repository.spec @@ -243,6 +243,7 @@ install -m 0755 -d %{buildroot}%{_sysconfdir}/leapp/transaction/ install -m 0755 -d %{buildroot}%{_sysconfdir}/leapp/files/ install -m 0644 etc/leapp/transaction/* %{buildroot}%{_sysconfdir}/leapp/transaction install -m 0644 etc/leapp/files/* %{buildroot}%{_sysconfdir}/leapp/files +install -m 0644 etc/leapp/actor_conf.d/* %{buildroot}%{_sysconfdir}/leapp/actor_conf.d # install CLI commands for the leapp utility on the expected path install -m 0755 -d %{buildroot}%{leapp_python_sitelib}/leapp/cli/