Appendix B. Importing Kickstart Repositories
Kickstart repositories are not provided by the Content ISO image. To use Kickstart repositories in your disconnected Satellite, you must download a binary DVD ISO file for the version of Red Hat Enterprise Linux that you want to use and copy the Kickstart files to Satellite.
B.1. Importing Kickstart Repositories for Red Hat Enterprise Linux 9 Copy linkLink copied to clipboard!
Use this procedure to import Kickstart repositories for Red Hat Enterprise Linux 9.
Procedure
- Navigate to the Red Hat Customer Portal at access.redhat.com/downloads and log in.
- Click Red Hat Enterprise Linux.
- Select a product variant and a product version from the list. For example, product variant Red Hat Enterprise Linux for x86_64 and product version 9.0.
- Locate the full installation image, for example, Red Hat Enterprise Linux 9.0 Binary DVD, and click Download Now. Note that you cannot provision hosts using the minimal ISO.
- When the download completes, copy the ISO image to Satellite Server.
On Satellite Server, create a mount point and temporarily mount the ISO image at that location:
mkdir /mnt/iso mount -o loop rhel-binary-dvd.iso /mnt/iso
# mkdir /mnt/iso # mount -o loop rhel-binary-dvd.iso /mnt/isoCopy to Clipboard Copied! Toggle word wrap Toggle overflow Replace rhel-binary-dvd.iso with the name of your ISO image.
Create directories for Red Hat Enterprise Linux 9 AppStream and BaseOS Kickstart repositories:
mkdir --parents /var/www/html/pub/satellite-import/content/dist/rhel9/9.0/x86_64/appstream/kickstart mkdir --parents /var/www/html/pub/satellite-import/content/dist/rhel9/9.0/x86_64/baseos/kickstart
# mkdir --parents /var/www/html/pub/satellite-import/content/dist/rhel9/9.0/x86_64/appstream/kickstart # mkdir --parents /var/www/html/pub/satellite-import/content/dist/rhel9/9.0/x86_64/baseos/kickstartCopy to Clipboard Copied! Toggle word wrap Toggle overflow Copy the
kickstartfiles from the ISO image:cp -a /mnt/iso/AppStream/* /var/www/html/pub/satellite-import/content/dist/rhel9/9.0/x86_64/appstream/kickstart cp -a /mnt/iso/BaseOS/* /mnt/iso/images/ /var/www/html/pub/satellite-import/content/dist/rhel9/9.0/x86_64/baseos/kickstart
# cp -a /mnt/iso/AppStream/* /var/www/html/pub/satellite-import/content/dist/rhel9/9.0/x86_64/appstream/kickstart # cp -a /mnt/iso/BaseOS/* /mnt/iso/images/ /var/www/html/pub/satellite-import/content/dist/rhel9/9.0/x86_64/baseos/kickstartCopy to Clipboard Copied! Toggle word wrap Toggle overflow Note that for BaseOS, you must also copy the contents of the
/mnt/iso/images/directory.Add the following entries to the listing files:
To the
/var/www/html/pub/satellite-import/content/dist/rhel9/9.0/x86_64/appstream/listingfile, appendkickstartwith a new line.To the
/var/www/html/pub/satellite-import/content/dist/rhel9/9.0/x86_64/baseos/listingfile, appendkickstartwith a new line.To the
/var/www/html/pub/satellite-import/content/dist/rhel8/listingfile, append the version number with a new line. For example, for the Red Hat Enterprise Linux 9.0 binary ISO, append9.0.Copy the
.treeinfofiles from the ISO image:cp /mnt/iso/.treeinfo /var/www/html/pub/satellite-import/content/dist/rhel9/9.0/x86_64/appstream/kickstart/treeinfo cp /mnt/iso/.treeinfo /var/www/html/pub/satellite-import/content/dist/rhel9/9.0/x86_64/baseos/kickstart/treeinfo
# cp /mnt/iso/.treeinfo /var/www/html/pub/satellite-import/content/dist/rhel9/9.0/x86_64/appstream/kickstart/treeinfo # cp /mnt/iso/.treeinfo /var/www/html/pub/satellite-import/content/dist/rhel9/9.0/x86_64/baseos/kickstart/treeinfoCopy to Clipboard Copied! Toggle word wrap Toggle overflow -
Open the
/var/www/html/pub/satellite-import/content/dist/rhel9/9.0/x86_64/baseos/kickstart/treeinfofile for editing. In the
[general]section, make the following changes:-
Change
packagedir = AppStream/Packagestopackagedir = Packages -
Change
repository = AppStreamtorepository = . -
Change
variant = AppStreamtovariant = BaseOS -
Change
variants = AppStream,BaseOStovariants = BaseOS
-
Change
-
In the
[tree]section, changevariants = AppStream,BaseOStovariants = BaseOS. In the
[variant-BaseOS]section, make the following changes:-
Change
packages = BaseOS/Packagestopackages = Packages -
Change
repository = BaseOStorepository = .
-
Change
-
Delete the
[media]and[variant-AppStream]sections. - Save and close the file.
Verify that the
/var/www/html/pub/satellite-import/content/dist/rhel9/9.0/x86_64/baseos/kickstart/treeinfofile has the following format:Copy to Clipboard Copied! Toggle word wrap Toggle overflow -
Open the
/var/www/html/pub/satellite-import/content/dist/rhel9/9.0/x86_64/appstream/kickstart/treeinfofile for editing. In the
[general]section, make the following changes:-
Change
packagedir = AppStream/Packagestopackagedir = Packages -
Change
repository = AppStreamtorepository = . -
Change
variants = AppStream,BaseOStovariants = AppStream
-
Change
-
In the
[tree]section, changevariants = AppStream,BaseOStovariants = AppStream In the
[variant-AppStream]section, make the following changes:-
Change
packages = AppStream/Packagestopackages = Packages -
Change
repository = AppStreamtorepository = .
-
Change
-
Delete the following sections from the file:
[checksums],[images-x86_64],[images-xen],[media],[stage2],[variant-BaseOS]. - Save and close the file.
Verify that the
/var/www/html/pub/satellite-import/content/dist/rhel9/9.0/x86_64/appstream/kickstart/treeinfofile has the following format:Copy to Clipboard Copied! Toggle word wrap Toggle overflow If you do not plan to use the mounted binary DVD ISO image, unmount and remove the directory:
umount /mnt/iso rmdir /mnt/iso
# umount /mnt/iso # rmdir /mnt/isoCopy to Clipboard Copied! Toggle word wrap Toggle overflow - In the Satellite web UI, enable the Kickstart repositories.
B.2. Importing Kickstart Repositories for Red Hat Enterprise Linux 8 Copy linkLink copied to clipboard!
Use this procedure to import Kickstart repositories for Red Hat Enterprise Linux 8.
Procedure
- Navigate to the Red Hat Customer Portal at access.redhat.com/downloads and log in.
- Click Red Hat Enterprise Linux.
- Select a product variant and a product version from the list. For example, product variant Red Hat Enterprise Linux for x86_64 and product version 8.1.
- Locate the full installation image, for example, Red Hat Enterprise Linux 8.1 Binary DVD, and click Download Now.
- When the download completes, copy the ISO image to Satellite Server.
On Satellite Server, create a mount point and temporarily mount the ISO image at that location:
mkdir /mnt/iso mount -o loop rhel-binary-dvd.iso /mnt/iso
# mkdir /mnt/iso # mount -o loop rhel-binary-dvd.iso /mnt/isoCopy to Clipboard Copied! Toggle word wrap Toggle overflow Replace rhel-binary-dvd.iso with the name of your ISO image.
Create directories for Red Hat Enterprise Linux 8 AppStream and BaseOS Kickstart repositories:
mkdir --parents /var/www/html/pub/satellite-import/content/dist/rhel8/8.1/x86_64/appstream/kickstart mkdir --parents /var/www/html/pub/satellite-import/content/dist/rhel8/8.1/x86_64/baseos/kickstart
# mkdir --parents /var/www/html/pub/satellite-import/content/dist/rhel8/8.1/x86_64/appstream/kickstart # mkdir --parents /var/www/html/pub/satellite-import/content/dist/rhel8/8.1/x86_64/baseos/kickstartCopy to Clipboard Copied! Toggle word wrap Toggle overflow Copy the
kickstartfiles from the ISO image:cp -a /mnt/iso/AppStream/* /var/www/html/pub/satellite-import/content/dist/rhel8/8.1/x86_64/appstream/kickstart cp -a /mnt/iso/BaseOS/* /mnt/iso/images/ /var/www/html/pub/satellite-import/content/dist/rhel8/8.1/x86_64/baseos/kickstart
# cp -a /mnt/iso/AppStream/* /var/www/html/pub/satellite-import/content/dist/rhel8/8.1/x86_64/appstream/kickstart # cp -a /mnt/iso/BaseOS/* /mnt/iso/images/ /var/www/html/pub/satellite-import/content/dist/rhel8/8.1/x86_64/baseos/kickstartCopy to Clipboard Copied! Toggle word wrap Toggle overflow Note that for BaseOS, you must also copy the contents of the
/mnt/iso/images/directory.Add the following entries to the listing files:
To the
/var/www/html/pub/satellite-import/content/dist/rhel8/8.1/x86_64/appstream/listingfile, appendkickstartwith a new line.To the
/var/www/html/pub/satellite-import/content/dist/rhel8/8.1/x86_64/baseos/listingfile, appendkickstartwith a new line.To the
/var/www/html/pub/satellite-import/content/dist/rhel8/listingfile, append the version number with a new line. For example, for the Red Hat Enterprise Linux 8.1 binary ISO, append8.1.Copy the
.treeinfofiles from the ISO image:cp /mnt/iso/.treeinfo /var/www/html/pub/satellite-import/content/dist/rhel8/8.1/x86_64/appstream/kickstart/treeinfo cp /mnt/iso/.treeinfo /var/www/html/pub/satellite-import/content/dist/rhel8/8.1/x86_64/baseos/kickstart/treeinfo
# cp /mnt/iso/.treeinfo /var/www/html/pub/satellite-import/content/dist/rhel8/8.1/x86_64/appstream/kickstart/treeinfo # cp /mnt/iso/.treeinfo /var/www/html/pub/satellite-import/content/dist/rhel8/8.1/x86_64/baseos/kickstart/treeinfoCopy to Clipboard Copied! Toggle word wrap Toggle overflow -
Open the
/var/www/html/pub/satellite-import/content/dist/rhel8/8.1/x86_64/baseos/kickstart/treeinfofile for editing. In the
[general]section, make the following changes:-
Change
packagedir = AppStream/Packagestopackagedir = Packages -
Change
repository = AppStreamtorepository = . -
Change
variant = AppStreamtovariant = BaseOS -
Change
variants = AppStream,BaseOStovariants = BaseOS
-
Change
-
In the
[tree]section, changevariants = AppStream,BaseOStovariants = BaseOS. In the
[variant-BaseOS]section, make the following changes:-
Change
packages = BaseOS/Packagestopackages = Packages -
Change
repository = BaseOStorepository = .
-
Change
-
Delete the
[media]and[variant-AppStream]sections. - Save and close the file.
Verify that the
/var/www/html/pub/satellite-import/content/dist/rhel8/8.1/x86_64/baseos/kickstart/treeinfofile has the following format:Copy to Clipboard Copied! Toggle word wrap Toggle overflow -
Open the
/var/www/html/pub/satellite-import/content/dist/rhel8/8.1/x86_64/appstream/kickstart/treeinfofile for editing. In the
[general]section, make the following changes:-
Change
packagedir = AppStream/Packagestopackagedir = Packages -
Change
repository = AppStreamtorepository = . -
Change
variants = AppStream,BaseOStovariants = AppStream
-
Change
-
In the
[tree]section, changevariants = AppStream,BaseOStovariants = AppStream In the
[variant-AppStream]section, make the following changes:-
Change
packages = AppStream/Packagestopackages = Packages -
Change
repository = AppStreamtorepository = .
-
Change
-
Delete the following sections from the file:
[checksums],[images-x86_64],[images-xen],[media],[stage2],[variant-BaseOS]. - Save and close the file.
Verify that the
/var/www/html/pub/satellite-import/content/dist/rhel8/8.1/x86_64/appstream/kickstart/treeinfofile has the following format:Copy to Clipboard Copied! Toggle word wrap Toggle overflow If you do not plan to use the mounted binary DVD ISO image, unmount and remove the directory:
umount /mnt/iso rmdir /mnt/iso
# umount /mnt/iso # rmdir /mnt/isoCopy to Clipboard Copied! Toggle word wrap Toggle overflow - In the Satellite web UI, enable the Kickstart repositories.
B.3. Importing Kickstart Repositories for Red Hat Enterprise Linux 7 Copy linkLink copied to clipboard!
Use this procedure to import Kickstart repositories for Red Hat Enterprise Linux 7.
Procedure
- Navigate to the Red Hat Customer Portal at access.redhat.com/downloads and log in.
- Click Red Hat Enterprise Linux.
- Click Switch to version 7 and below above the Product Variant list.
- Select a product variant and a product version from the list. For example, product variant Red Hat Enterprise Linux for x86_64 and product version 7.9.
- Locate the full installation image, for example, Red Hat Enterprise Linux 7.9 Binary DVD, and click Download Now.
- When the download completes, copy the ISO image to Satellite Server.
On Satellite Server, create a mount point and temporarily mount the ISO image at that location:
mkdir /mnt/iso mount -o loop rhel-binary-dvd.iso /mnt/iso
# mkdir /mnt/iso # mount -o loop rhel-binary-dvd.iso /mnt/isoCopy to Clipboard Copied! Toggle word wrap Toggle overflow Replace rhel-binary-dvd.iso with the name of your ISO image.
Create Kickstart directories:
mkdir --parents /var/www/html/pub/satellite-import/content/dist/rhel/server/7/7.9/x86_64/kickstart/
# mkdir --parents /var/www/html/pub/satellite-import/content/dist/rhel/server/7/7.9/x86_64/kickstart/Copy to Clipboard Copied! Toggle word wrap Toggle overflow Copy the
kickstartfiles from the ISO image:cp -a /mnt/iso/* /var/www/html/pub/satellite-import/content/dist/rhel/server/7/7.9/x86_64/kickstart/
# cp -a /mnt/iso/* /var/www/html/pub/satellite-import/content/dist/rhel/server/7/7.9/x86_64/kickstart/Copy to Clipboard Copied! Toggle word wrap Toggle overflow Add the following entries to the listing files:
To the
/var/www/html/pub/satellite-import/content/dist/rhel/server/7/listingfile, append the version number with a new line. For example, for the Red Hat Enterprise Linux 7.9 ISO, append7.9.To the
/var/www/html/pub/satellite-import/content/dist/rhel/server/7/7.9/listingfile, append the architecture with a new line. For example,x86_64.To the
/var/www/html/pub/satellite-import/content/dist/rhel/server/7/7.9/x86_64/listingfile, appendkickstartwith a new line.Copy the
.treeinfofiles from the ISO image:cp /mnt/iso/.treeinfo /var/www/html/pub/satellite-import/content/dist/rhel/server/7/7.9/x86_64/kickstart/treeinfo
# cp /mnt/iso/.treeinfo /var/www/html/pub/satellite-import/content/dist/rhel/server/7/7.9/x86_64/kickstart/treeinfoCopy to Clipboard Copied! Toggle word wrap Toggle overflow If you do not plan to use the mounted binary DVD ISO image, unmount and remove the directory:
umount /mnt/iso rmdir /mnt/iso
# umount /mnt/iso # rmdir /mnt/isoCopy to Clipboard Copied! Toggle word wrap Toggle overflow - In the Satellite web UI, enable the Kickstart repositories.