Tuesday 8 March 2011

Add base channels from ISO images

Mount the ISO
[root@sat01 ~]# mount /dev/cdrom /mnt

Make the import directory
[root@sat01 ~]# mkdir /var/rhn-sat-import/RHEL5.5

Copy the files from the ISO
[root@sat01 ~]# cp -ruv /mnt* /var/rhn-sat-import/RHEL5.5

Unmount the ISO
[root@sat01 ~]# umount /mnt

List the available channels
[root@sat01 ~]# satellite-sync --list-channels --mount-point /var/rhn-sat-import/RHEL5.5

Import a specific channel
[root@sat01 ~]# satellite-sync -c rhel5-i386 --mount-point /var/rhn-sat-import/RHEL5.5

No comments:

Post a Comment