You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Neil Hanlon 4e1a1e9101
attempt to fix BIOS boot on OCP
4 days ago
cloud add additional comment to avoid overwrites 4 weeks ago
container launch dbus in pre always 3 months ago
live/8 bump to 8.7 4 months ago
vagrant remove asprimary as it serves no purpose in gpt 4 months ago
README.md remove auth from the kickstarts 1 year ago
Rocky-8-Azure-Base.ks add additional comment to avoid overwrites 4 weeks ago
Rocky-8-Azure-LVM.ks add additional comment to avoid overwrites 4 weeks ago
Rocky-8-Container-Base.ks disable kdump 3 months ago
Rocky-8-Container-Minimal.ks why is this even here 3 months ago
Rocky-8-Container-UBI.ks disable kdump 3 months ago
Rocky-8-Container-WSL.ks add wsl image 3 weeks ago
Rocky-8-EC2-Base.ks add additional comment to avoid overwrites 4 weeks ago
Rocky-8-EC2-LVM.ks add additional comment to avoid overwrites 4 weeks ago
Rocky-8-GenericCloud-Base.ks add additional comment to avoid overwrites 4 weeks ago
Rocky-8-GenericCloud-LVM.ks add additional comment to avoid overwrites 4 weeks ago
Rocky-8-KDE.ks try pointing to this hostname? 4 months ago
Rocky-8-MATE.ks Add restorecon for MATE 4 months ago
Rocky-8-OCP.ks attempt to fix BIOS boot on OCP 4 days ago
Rocky-8-Vagrant-Libvirt.ks Use LVM for Libvirt Vagrant 3 weeks ago
Rocky-8-Vagrant-VMware.ks remove asprimary as it serves no purpose in gpt 4 months ago
Rocky-8-Vagrant-Vbox.ks remove asprimary as it serves no purpose in gpt 4 months ago
Rocky-8-Workstation-Lite.ks try pointing to this hostname? 4 months ago
Rocky-8-Workstation-Mainline.ks try pointing to this hostname? 4 months ago
Rocky-8-Workstation.ks try pointing to this hostname? 4 months ago
Rocky-8-XFCE.ks try pointing to this hostname? 4 months ago

README.md

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.

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.