Professional Documents
Culture Documents
3. Ensure the foreman user has read and write permissions on the export directory:
# chown foreman:foreman /var/www/html/pub/export
1. To specify the global default D ownload Policy using the command line, use the
hammer
command as follows:
# hammer settings set --name default_download_policy --value immediate
Exporting Repositories
# hammer repository export --id 1 [--export-to-iso 1]
If you use the --export-to-iso parameter, you need to specify either 1 (ISO) or 0
(directory). This parameter does not have a default value.
3. You can add a link to the export directory to make it easier to refer to
# tree megacorp-cdn_megacorp_com-v1.0
4. Create a symbolic link to the version directory and then use the link:
# ln -s megacorp-cdn_megacorp_com-v1.0/megacorp/content_views/cdn_megacorp_com/1.0
latest-cdn
5. When you update the subscription CDN URL to point to where the export is being
served from, use the symbolic link:
Importing Content
Red Hat Satellite 6.2 currently supports importing content that has been exported
from an upstream Satellite Server in a disconnected environment.
There is no actual " import" command to use on the downstream server. The process
is a normal repository synchronization using the exported content from the upstream
server as the source.
Before you can import content into your downstream server, you need to know what
was exported.
You can use the hammer repository-set list command to establish what was exported.
For example:
To Enable a Repository:
1. Use the hammer repository-set enable command to enable a repository from an
export file. For example:
# hammer repository-set enable \
--organization "Mega Subsidiary" \
--product "Red Hat Enterprise Linux Server" \
--basearch x86_64 --releasever 7.2 --id 2455