Go to file
2024-08-21 20:10:24 -07:00
cloud Backport sig_core/rocky-kiwi-descriptions#3 and mod readme 2024-08-21 20:10:24 -07:00
container Get closer to upstream with the ubi image 2023-05-09 16:36:47 +02:00
live/9 disable epel-testing 2024-05-18 13:54:56 -07:00
vagrant bump guest additions version 2024-05-01 14:19:37 -07:00
README.md Update README to point to kiwi 2024-04-01 17:49:10 -07:00
Rocky-9-Azure-Base.ks Backport sig_core/rocky-kiwi-descriptions#3 and mod readme 2024-08-21 20:10:24 -07:00
Rocky-9-Azure-LVM.ks Backport sig_core/rocky-kiwi-descriptions#3 and mod readme 2024-08-21 20:10:24 -07:00
Rocky-9-Cinnamon.ks Update restorecon command 2024-02-15 10:59:12 -07:00
Rocky-9-Container-Base.ks no langpacks either 2022-12-20 16:17:10 -05:00
Rocky-9-Container-Minimal.ks apply changes to minimal and ubi container 2022-12-20 16:30:41 -05:00
Rocky-9-Container-UBI.ks Merge into the combined ks file 2023-05-09 16:36:47 +02:00
Rocky-9-EC2-Base.ks fix: aarch does not have xen drivers 2024-02-01 16:30:03 +01:00
Rocky-9-EC2-LVM.ks fix: aarch does not have xen drivers 2024-02-01 16:30:03 +01:00
Rocky-9-GenericArm-Minimal.ks Add GenericArm-Minimal image from SIG/AltArch 2023-05-16 13:58:59 -04:00
Rocky-9-GenericCloud-Base.ks Backport sig_core/rocky-kiwi-descriptions#3 and mod readme 2024-08-21 20:10:24 -07:00
Rocky-9-GenericCloud-LVM.ks Backport sig_core/rocky-kiwi-descriptions#3 and mod readme 2024-08-21 20:10:24 -07:00
Rocky-9-KDE.ks Update restorecon command 2024-02-15 10:59:12 -07:00
Rocky-9-MATE.ks raise part size for mate 2024-05-18 13:10:53 -07:00
Rocky-9-OCP-Base.ks Backport sig_core/rocky-kiwi-descriptions#3 and mod readme 2024-08-21 20:10:24 -07:00
Rocky-9-RPI-Base.ks add RPI image 2023-05-16 14:59:24 -04:00
Rocky-9-Vagrant-Libvirt.ks remove asprimary as it serves no purpose in gpt 2022-11-24 12:53:28 -07:00
Rocky-9-Vagrant-Vbox.ks bump guest additions version 2024-05-01 14:19:37 -07:00
Rocky-9-Vagrant-VMware.ks remove asprimary as it serves no purpose in gpt 2022-11-24 12:53:28 -07:00
Rocky-9-Workstation-Lite.ks Update restorecon command 2024-02-15 10:59:12 -07:00
Rocky-9-Workstation-Mainline.ks fix gpg key imports 2023-11-16 10:10:10 -07:00
Rocky-9-Workstation.ks Update restorecon command 2024-02-15 10:59:12 -07:00
Rocky-9-XFCE.ks Update restorecon command 2024-02-15 10:59:12 -07:00

R9 specific kickstarts

This branch has Rocky Linux 9 specific kickstarts. These kickstarts vary between cloud images and live images provided in our repositories and mirrors.

If you are looking for the kiwi version of these configurations, check out this repo.

Structure

In the root of the repository are the general kickstarts in use that any user can pick up, use, or modify to their liking to make their own Rocky Linux live images, cloud images, and so on. These kickstarts are generated by templates that live in the various directories in this repository.

  • cloud -> Cloud image templates
  • live -> Live image templates
  • container -> Container image templates

These kickstarts are generated using ksflatten. Changes made to the kickstarts generally match between the templates and the full kickstarts in the root.

For SIG/Core's usage, we use the live area as a "working" directory, where we use the split parts in our automation for the images and the pre-flattened versions are there for the convenience of all users. This is easier than using the pre-made ones in empanadas.

Building Live Images

To build live images, you will need to use livecd-creator or livemedia-creator. The former is simpler to use and generally works without many issues. The latter can be a bit more tricky to work with and typically runs the installer virtually. However, it can be used without a virtual machine like in a mock shell.

Optionally, it is possible to use empanadas found in the SIG/Core toolkit.

Automatic: Using empanadas

To be filled.

Manual: Using livemedia-creator

To use livemedia-creator without using virt, you can use a mock shell. To setup a mock chroot for the purpose of building a live image, you would set it up like so:

# Install mock if you haven't already
% dnf install epel-release -y
% dnf install mock -y

# Add a user to the mock group
% usermod -a -G mock user

# As the user, setup the mock environment
% mock -r rocky-9-x86_64 --init
% mock -r rocky-9-x86_64 --install lorax-lmc-novirt vim-minimal pykickstart git
# You may need to be in permissive mode temporarily if you have issues
% setenforce 0
# Enter the shell
% mock -r rocky-9-x86_64 --shell --isolation=simple --enable-network

# Clone the kickstarts and run an installation
% git clone https://github.com/rocky-linux/kickstarts -b r9
% cd kickstarts
% livemedia-creator --ks Rocky-9-Workstation.ks \
  --no-virt \
  --resultdir /var/lmc \
  --project="Rocky Linux" \
  --make-iso \
  --volid Rocky-Workstation-9 \
  --iso-only \
  --iso-name Rocky-Workstation-9-x86_64.iso \
  --releasever=9 \
  --nomacboot  # This option is important to set, mkfs.hfsplus is not available

With the example above, all of the results will appear in /var/lib/mock/rocky-9-x86_64/root/var/lmc.