No description
Find a file
2023-05-18 15:46:30 +00:00
cloud Renames and readmes 2023-04-12 23:50:51 -07:00
container Get closer to upstream with the ubi image 2023-05-12 20:04:34 +00:00
live/8 adjust mate size 2023-05-18 02:11:03 -07:00
vagrant remove asprimary as it serves no purpose in gpt 2022-11-24 12:53:59 -07:00
README.md Renames and readmes 2023-04-12 23:50:51 -07:00
Rocky-8-Azure-Base.ks fixup kickstarts to make anaconda happy../.. 2023-05-12 15:58:31 -04:00
Rocky-8-Azure-LVM.ks add additional comment to avoid overwrites 2023-02-20 12:52:55 -07:00
Rocky-8-Container-Base.ks disable kdump 2022-12-17 12:54:43 -05:00
Rocky-8-Container-Minimal.ks why is this even here 2022-12-19 16:08:27 -05:00
Rocky-8-Container-UBI.ks Merge into the combined ks file 2023-05-12 20:04:34 +00:00
Rocky-8-Container-WSL.ks add wsl image 2023-03-01 20:10:19 -05:00
Rocky-8-EC2-Base.ks fixup kickstarts to make anaconda happy../.. 2023-05-12 15:58:31 -04:00
Rocky-8-EC2-LVM.ks fix xen keys 2023-04-03 09:54:03 -07:00
Rocky-8-GenericCloud-Base.ks fixup kickstarts to make anaconda happy../.. 2023-05-12 15:58:31 -04:00
Rocky-8-GenericCloud-LVM.ks add additional comment to avoid overwrites 2023-02-20 12:52:55 -07:00
Rocky-8-KDE.ks change major.minor to major 2023-05-18 01:58:36 -07:00
Rocky-8-MATE.ks adjust mate size 2023-05-18 02:11:03 -07:00
Rocky-8-OCP-Base.ks Update 'Rocky-8-OCP-Base.ks' 2023-05-18 15:46:30 +00:00
Rocky-8-Vagrant-Libvirt.ks Use LVM for Libvirt Vagrant 2023-02-25 00:07:57 -05:00
Rocky-8-Vagrant-Vbox.ks remove asprimary as it serves no purpose in gpt 2022-11-24 12:53:59 -07:00
Rocky-8-Vagrant-VMware.ks remove asprimary as it serves no purpose in gpt 2022-11-24 12:53:59 -07:00
Rocky-8-Workstation-Lite.ks change major.minor to major 2023-05-18 01:58:36 -07:00
Rocky-8-Workstation-Mainline.ks change major.minor to major 2023-05-18 01:58:36 -07:00
Rocky-8-Workstation.ks change major.minor to major 2023-05-18 01:58:36 -07:00
Rocky-8-XFCE.ks change major.minor to major 2023-05-18 01:58:36 -07:00

R8 specific kickstarts

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

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.

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-8-x86_64 --init
% mock -r rocky-8-x86_64 --install lorax-lmc-novirt vim-minimal pykickstart git
# You will need to be in permissive mode temporarily
% setenforce 0
# Enter the shell
% mock -r rocky-8-x86_64 --shell --isolation=simple --enable-network

# Clone the kickstarts and run an installation
% git clone https://github.com/rocky-linux/kickstarts
% cd kickstarts
% livemedia-creator --ks Rocky-8-Workstation.ks \
  --no-virt \
  --resultdir /var/lmc \
  --project="Rocky Linux" \
  --make-iso \
  --volid Rocky-Workstation-8 \
  --iso-only \
  --iso-name Rocky-Workstation-8-x86_64.iso \
  --releasever=8 \
  --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-8-x86_64/root/var/lmc.