Go to file
lumarel f5a5d044e9
Add VMware Vagrant kickstart
2022-07-24 00:29:30 +02:00
live/8 lightdm will be available in EPEL 2022-05-15 19:55:42 -07:00
README.md remove auth from the kickstarts 2021-11-13 15:29:28 -07:00
Rocky-8-Azure.ks Add azure kickstart to this repo 2022-07-08 15:23:25 -04:00
Rocky-8-Container-Base.ks Fixes for systemd in el8 anaconda.. it's required, for reasons 2022-07-07 15:35:48 -04:00
Rocky-8-Container-Minimal.ks Fixes for systemd in el8 anaconda.. it's required, for reasons 2022-07-07 15:35:48 -04:00
Rocky-8-Container-UBI.ks Fixes for systemd in el8 anaconda.. it's required, for reasons 2022-07-07 15:35:48 -04:00
Rocky-8-EC2.ks grow genclo disk, reqpart on vagrant 2022-07-04 18:04:27 -04:00
Rocky-8-GenericCloud.ks add url param back into genclo image 2022-07-09 00:40:03 -04:00
Rocky-8-KDE.ks remove extraneous posts 2022-05-15 10:34:12 -07:00
Rocky-8-Vagrant-Libvirt.ks grow genclo disk, reqpart on vagrant 2022-07-04 18:04:27 -04:00
Rocky-8-Vagrant-VMware.ks Add VMware Vagrant kickstart 2022-07-24 00:29:30 +02:00
Rocky-8-Vagrant-Vbox.ks grow genclo disk, reqpart on vagrant 2022-07-04 18:04:27 -04:00
Rocky-8-Workstation-Lite.ks remove extraneous posts 2022-05-15 10:34:12 -07:00
Rocky-8-Workstation-Mainline.ks patches are in anaconda now 2022-05-12 13:43:58 -07:00
Rocky-8-Workstation.ks remove extraneous posts 2022-05-15 10:34:12 -07:00
Rocky-8-XFCE.ks lightdm will be available in EPEL 2022-05-15 19:55:42 -07:00

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.