9.2.2. Import from Local Media
- List the channels available for import.
# satellite-sync --list-channels --mount-point /var/rhn-sat-import
- Initiate the import of a specific channel using a channel label presented in the previous list.
# satellite-sync -c [channel-label] --mount-point /var/rhn-sat-import
NoteImporting package data can take up to two hours per channel. Register systems to channels as soon as they appear in the Red Hat Satellite web interface. No packages are necessary for registration, although updates cannot be retrieved from the Satellite until the channel is completely populated.
- Repeat this step for each channel or include them all within a single command by passing each channel label preceded with an additional
-cflag, like so:
# satellite-sync -c [channel-label-1] -c [channel-label-2] --mount-point /var/rhn-sat-import
# cd /var/rhn-sat-import/; ls -alR | grep rpm
# rm -rf /var/rhn-sat-import