SUSE Manager/Sync CentOS media

From MicroFocusInternationalWiki
Revision as of 08:36, 3 May 2018 by Kwk (Talk | contribs) (Created page with "SUSE Manager Main Page = Import CentOS media into a SUSE Manager Channel = The goal of this procedure is having a CentOS media as a SUSE Manager channel. This...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SUSE Manager Main Page

Import CentOS media into a SUSE Manager Channel

The goal of this procedure is having a CentOS media as a SUSE Manager channel. This mean that you will find the packages from your CentOS DVD or ISO into a regular SUSE Manager channel.

Minimal CentOS versions for Salt

CentOS added dependency resolving packages to their releases required by Salt. Earlier versions did not have all the needed packages.


For Salt support on CentOS6, CentOS 6.7+ media is required.

For Salt support on CentOS7, CentOS 7.2+ media is required.

Create the channel in SUSE Manager

On the SUSE Manager Web UI:

  • Create the channel in SUSE Manager

Go to "Channels" -> "Manage Software Channels" - > "Create channel" and fill the basic channel details.

  • Modify your activation key to include this new child channel.

Working with the ISO

On the CLI of SUSE Manager as root:

Note: This assumes

  • Copy the ISO to your SUSE Manager server in /tmp
  • Create a directory: (assuming version 6.9, 64bit; adapt accordingly)
   # mkdir -p /srv/www/htdocs/pub/centos-6.9-x86_64-dvd1
  • mount the iso:
   # mount -o loop /tmp/CentOS-6.9-x86_64-bin-DVD1.iso /srv/www/htdocs/pub/centos-6.9-x86_64-dvd1
  • If your CentOS distribution is single-DVD (CentOS 7), you can skip to "Start spacewalk-repo-sync" below
  • Copy the second ISO to your SUSE Manager server in /tmp
  • Create a directory:
   # mkdir -p /srv/www/htdocs/pub/centos-6.9-x86_64-dvd2
  • mount the iso:
   # mount -o loop /tmp/CentOS-6.9-x86_64-bin-DVD2.iso /srv/www/htdocs/pub/centos-6.9-x86_64-dvd2
  • Copy the first ISO to your SUSE Manager server
 (this is needed to make it writable)
  • Create a directory:
   # mkdir -p /srv/www/htdocs/pub/centos-6.9-x86_64-dvd
  • Rsync DVD1 to this directory
   # rsync -a /srv/www/htdocs/pub/centos-6.9-x86_64-dvd1/ /srv/www/htdocs/pub/centos-6.9-x86_64-dvd

(Note the trailing slash behind .../centos-6.9-x86_64-dvd1/ !)

  • Symlink DVD2 into this directory
    # cd /srv/www/htdocs/pub/centos-6.9-x86_64-dvd/Packages
    # ln -s ../../centos-6.9-x86_64-dvd2/Packages/* .

==> now you have all packages from DVD1 and all packages from DVD2 available via /srv/www/htdocs/pub/centos-6.9-x86_64-dvd/Packages


  • After the end of the synchronization, you will be able to manipulate this channel as a regular SUSE Manager channel.