Fix README

This commit is contained in:
Louis Abel 2022-06-29 19:35:18 -07:00
parent 41e1d78dee
commit 1d39aa6ff2
Signed by untrusted user who does not match committer: label
GPG Key ID: 6735C0E1BD65D048

View File

@ -1,4 +1,4 @@
# R8 specific kickstarts # R9 specific kickstarts
This branch has Rocky Linux 8 specific kickstarts. These kickstarts vary This branch has Rocky Linux 8 specific kickstarts. These kickstarts vary
between cloud images and live images provided in our repositories and between cloud images and live images provided in our repositories and
@ -27,27 +27,27 @@ set it up like so:
% usermod -a -G mock user % usermod -a -G mock user
# As the user, setup the mock environment # As the user, setup the mock environment
% mock -r rocky-8-x86_64 --init % mock -r rocky-9-x86_64 --init
% mock -r rocky-8-x86_64 --install lorax-lmc-novirt vim-minimal pykickstart git % mock -r rocky-9-x86_64 --install lorax-lmc-novirt vim-minimal pykickstart git
# You will need to be in permissive mode temporarily # You will need to be in permissive mode temporarily
% setenforce 0 % setenforce 0
# Enter the shell # Enter the shell
% mock -r rocky-8-x86_64 --shell --isolation=simple --enable-network % mock -r rocky-9-x86_64 --shell --isolation=simple --enable-network
# Clone the kickstarts and run an installation # Clone the kickstarts and run an installation
% git clone https://github.com/rocky-linux/kickstarts % git clone https://github.com/rocky-linux/kickstarts
% cd kickstarts % cd kickstarts
% livemedia-creator --ks Rocky-8-Workstation.ks \ % livemedia-creator --ks Rocky-9-Workstation.ks \
--no-virt \ --no-virt \
--resultdir /var/lmc \ --resultdir /var/lmc \
--project="Rocky Linux" \ --project="Rocky Linux" \
--make-iso \ --make-iso \
--volid Rocky-Workstation-8 \ --volid Rocky-Workstation-9 \
--iso-only \ --iso-only \
--iso-name Rocky-Workstation-8-x86_64.iso \ --iso-name Rocky-Workstation-9-x86_64.iso \
--releasever=8 \ --releasever=8 \
--nomacboot # This option is important to set, mkfs.hfsplus is not available --nomacboot # This option is important to set, mkfs.hfsplus is not available
``` ```
With the example above, all of the results will appear in With the example above, all of the results will appear in
`/var/lib/mock/rocky-8-x86_64/root/var/lmc`. `/var/lib/mock/rocky-9-x86_64/root/var/lmc`.