Search This Blog

Tuesday, April 18, 2023

How to change download policy of repositories in Red Hat Satellite 6.3?

Tested on Red Hat Satellite 6.3


Issue

How to change the download policy of all enabled repositories in Satellite 6.3?

How to change the repository download policy to immediate in Satellite 6.3?


Raw

- Changing download policy to 'immediate'.

foreman-rake katello:change_download_policy DOWNLOAD_POLICY=immediate


- Changing download policy to 'on-demand'.

foreman-rake katello:change_download_policy DOWNLOAD_POLICY=on_demand