Compare commits

...

202 Commits
main ... r9

Author SHA1 Message Date
Louis Abel c8a490b9c7
Update README to point to kiwi 2024-04-01 17:49:10 -07:00
Louis Abel faf6b60856
remove mainline dirs 2024-04-01 17:41:35 -07:00
Louis Abel 126d7433e0
up size of workstation 2024-02-27 13:51:50 -07:00
Louis Abel d4dcf58e37
use fixfiles instead 2024-02-16 10:34:23 -07:00
Louis Abel 0a56a8d232
Update restorecon command 2024-02-15 10:59:12 -07:00
Louis Abel 3800c215ed
Add restorecon to stage 2024-02-15 09:54:17 -07:00
Louis Abel 969d84de3e
try relabeling this way 2024-02-15 07:18:57 -07:00
Louis Abel 78f5768405
add missing livecd-creator logic 2024-02-14 20:57:54 -07:00
Louis Abel 532ef89ca1
primary example kickstarts should use pub 2024-02-14 20:41:47 -07:00
Louis Abel 0a4656168c
Use livesys scripts package 2024-02-14 20:40:30 -07:00
Louis Abel d68493e785
add panel profiles 2024-02-14 19:37:38 -07:00
Louis Abel 6380134139
add notifyd 2024-02-11 16:21:17 -07:00
Neil Hanlon 8f494646ba
fix: aarch does not have xen drivers 2024-02-01 16:30:03 +01:00
Louis Abel 4cc2392073
bump KDE to 9000 2023-12-17 16:32:09 -07:00
Louis Abel 9fc59d06f0
disable emailmerge for aarch64 2023-11-16 17:25:57 -07:00
Louis Abel 0559fb7972
set default sddm theme 2023-11-16 16:59:47 -07:00
Louis Abel 7f9dcf7a56
actually make the dbus dir 2023-11-16 16:13:43 -07:00
Louis Abel d04093d375
fix EOF for XFCE 2023-11-16 12:10:18 -07:00
Louis Abel 816eade8f7
turn on restorecon for xfce 2023-11-16 11:58:25 -07:00
Louis Abel cef2d61789
ensure the right key is used 2023-11-16 11:08:38 -07:00
Louis Abel 55a670e76a
disable kdeconnect 2023-11-16 11:04:02 -07:00
Louis Abel 2aeb7696fc
fix gpg key imports 2023-11-16 10:10:10 -07:00
Louis Abel d8437a2699
add remaining packages for other de 2023-11-16 09:52:37 -07:00
Louis Abel 72711f2ee0
set default xfce background 2023-11-16 03:49:42 -07:00
Louis Abel ebc773e5cf
improve KDE and XFCE kickstarts 2023-11-16 03:36:32 -07:00
Louis Abel fd5cf30d2d
add rocky-backgrounds-kde 2023-11-15 23:35:33 -07:00
Louis Abel a89e6b5e87
allow welcome screen for xfce 2023-11-14 00:58:41 -07:00
Louis Abel 614a82cc77
address security feature of xfce 2023-11-14 00:10:56 -07:00
Louis Abel 8b72a6cc36
address security feature of xfce 2023-11-14 00:09:26 -07:00
Louis Abel f2393e8c80
change yumrepofs path 2023-11-12 14:53:17 -07:00
Louis Abel 115943d1fa
add rocky-release explicitly for live kickstarts 2023-11-12 14:26:44 -07:00
Neil Hanlon 97a5efda6c
need EPEL's keys 2023-11-02 17:29:50 -04:00
Neil Hanlon e77731f5c2
it helps to start the service 2023-11-02 16:37:46 -04:00
Neil Hanlon 3d9346befa
forgot to install the pkg 2023-11-02 16:23:42 -04:00
Neil Hanlon 92c181af0d
trying something for OCP 2023-11-02 16:21:11 -04:00
Louis Abel 52971cb933
clarity on cloned branch 2023-09-07 18:21:01 -07:00
Neil Hanlon 1ed3ae9ecb
add RPI image 2023-05-16 14:59:24 -04:00
Neil Hanlon fa3dc6f89e
Add GenericArm-Minimal image from SIG/AltArch 2023-05-16 13:58:59 -04:00
Louis Abel 384af70bd3
Add experimental ppc64le support for live 2023-05-13 21:25:43 -07:00
Neil Hanlon 0348e07b88
make anaconda pleased 2023-05-13 16:43:13 -04:00
Neil Hanlon 71a8851927
attempt to please anaconda 2023-05-13 16:38:52 -04:00
Louis Abel 2e954fd75a
remove packages that are not available to aarch64 2023-05-13 10:44:06 -07:00
Louis Abel c9d22940fd
remove zerombr and clearpart from azure lvm 2023-05-12 12:38:42 -07:00
Louis Abel f9413603da Merge pull request 'Stick closely to upstream with the UBI image - 9' (#8) from lumarel/kickstarts:ubi9-get-closer-to-upstream into r9
Reviewed-on: #8
2023-05-09 17:47:34 +00:00
lumarel e41d68f01b
Merge into the combined ks file 2023-05-09 16:36:47 +02:00
lumarel 1e7a211eb7
Get closer to upstream with the ubi image 2023-05-09 16:36:47 +02:00
lumarel fe66c01c76
Use Etc/UTC as upstream does 2023-05-09 16:36:47 +02:00
Louis Abel a9a0b15b3a remove system.devices from lvm variants (#9) (#10)
Potential PR for issue #9

Co-authored-by: Louis Abel <label@rockylinux.org>
Reviewed-on: #10
Co-authored-by: Louis Abel <label@noreply@resf.org>
Co-committed-by: Louis Abel <label@noreply@resf.org>
2023-04-27 01:17:08 +00:00
Louis Abel 51989ace15
Renames and readmes
* Add readme for cloud templates
* Modify readme for repo in general
* Change Rocky-X-OCP to be a base variant
2023-04-12 23:48:02 -07:00
Louis Abel 9f18a95d63
update templates for OCP 2023-04-10 18:11:48 -07:00
Neil Hanlon b20d289a5e
fix: OCP images should disable cloud-kernel repo 2023-04-10 13:52:38 -04:00
Louis Abel 46fabf40b7
add %pre to base images 2023-03-22 14:15:52 -07:00
Louis Abel e90589b34b
add cinnamon, change kde a bit 2023-03-22 13:34:30 -07:00
Louis Abel 7c1eeb81a0
add additional comment to avoid overwrites 2023-02-03 09:34:07 -07:00
Louis Abel 664f63a052
set onparts 2023-01-26 14:33:22 -07:00
Louis Abel e236ed0b1b
adjust all LVM's to use %pre 2023-01-26 14:23:30 -07:00
Neil Hanlon 86010af052
Must be ext2 and set lvm flag 2023-01-24 20:30:42 -05:00
Neil Hanlon d97ca8f68e
Must be ext2 and set lvm flag 2023-01-24 20:28:28 -05:00
Neil Hanlon fde58b89b9
fix start and end for partitions 2023-01-24 20:12:25 -05:00
Neil Hanlon be68d9891e
fix start and end for partitions 2023-01-24 20:07:37 -05:00
Neil Hanlon c067781730
don't @ me 2023-01-24 20:02:12 -05:00
Neil Hanlon 33e594ea90
give %pre and %end 2023-01-24 19:59:21 -05:00
Neil Hanlon 63ddfcca09
fix ordering of partition statements to match partitions 2023-01-24 19:56:13 -05:00
Neil Hanlon 60726960a3
try with a pre script, i guess 2023-01-24 19:55:02 -05:00
Neil Hanlon 8303b8ab11
make sure to start ocid 2023-01-24 18:23:19 -05:00
Neil Hanlon 63060451bc
Fix LVM, partitions 2023-01-24 18:22:02 -05:00
Neil Hanlon 646bad974b
Attempt to fix boot args for OCP images 2023-01-24 17:14:00 -05:00
Louis Abel da13de1024
port over corrections into templates 2022-12-20 15:01:59 -07:00
Neil Hanlon 476f809004
apply changes to minimal and ubi container 2022-12-20 16:30:41 -05:00
Neil Hanlon 5f87e36db7
no langpacks either 2022-12-20 16:17:10 -05:00
Neil Hanlon 788dc6709d
spelling 2022-12-20 16:15:10 -05:00
Neil Hanlon 8a723e40c2
attempt to fix base package spec 2022-12-20 16:13:53 -05:00
Neil Hanlon 559b8667e6
python-daemon needs docutils.. for now 2022-12-13 18:06:09 -05:00
Neil Hanlon 50e805b0ad
actually fix it this time 2022-12-13 17:59:38 -05:00
Neil Hanlon f7fb79194d
Fix repo for OCP 2022-12-13 17:54:37 -05:00
Neil Hanlon 0281a4f8f4
[temp] use pre-staging yumrepofs content for sig-cloud 2022-12-13 14:16:46 -05:00
Neil Hanlon 75dedf5877
Add EPEL for OCP to pull python3-daemon 2022-12-12 11:19:14 -05:00
Neil Hanlon 68160e53ce
actually install oci-utils 2022-12-11 12:48:24 -05:00
Neil Hanlon 036b221314
rocky-release-cloud is in extras 2022-12-11 12:45:52 -05:00
Neil Hanlon 44458ba332
Use oci-utils from SIG/Cloud for now 2022-12-09 23:05:51 -05:00
Neil Hanlon 3b7d018deb
use the right key for el9 2022-12-08 08:40:02 -05:00
Neil Hanlon 996c9a6111
Fix #7 - import gpg key 2022-12-08 08:36:51 -05:00
Neil Hanlon f4ef6af8c9
fix dracut entries for OCP 2022-11-30 17:47:00 -05:00
Neil Hanlon 2159393336
fix dracut entries for OCP 2022-11-30 17:45:00 -05:00
Louis Abel 282a85000e
add wagent enable 2022-11-29 13:55:15 -07:00
Louis Abel 4075e16676
remove asprimary as it serves no purpose in gpt 2022-11-24 12:53:28 -07:00
Louis Abel 5c75f3ef54
update vagrant templates 2022-11-23 22:24:33 -07:00
Neil Hanlon 1f182fce89
Revert "temporary debugging"
This reverts commit b52c874e40.
2022-11-23 23:43:36 -05:00
Neil Hanlon e4dbbeb677
install against stg 2022-11-23 23:39:14 -05:00
Neil Hanlon 619d5f2660
add kernel-headers 2022-11-23 23:31:20 -05:00
Neil Hanlon b52c874e40
temporary debugging 2022-11-23 23:18:31 -05:00
Neil Hanlon c58097c7f9
Fix vagrant kickstart 2022-11-23 23:03:10 -05:00
Louis Abel 9d667d87a2
modify vagrant templates 2022-11-23 18:12:39 -07:00
Neil Hanlon 8151980b4a
reinstall grub for bios systems 2022-11-23 20:10:18 -05:00
Louis Abel 2ce5a69275
update vagrant templates 2022-11-23 17:33:28 -07:00
Neil Hanlon 978b1770bb
change up partitioning for vagrant 2022-11-23 18:18:28 -05:00
Neil Hanlon 6896ef9dd4
add ignoremissing to UBI kickstart 2022-11-23 12:41:37 -05:00
Neil Hanlon 66672df3fd
nontp 2022-11-22 18:11:50 -05:00
Neil Hanlon 3a3c52b35b
nontp 2022-11-22 17:23:29 -05:00
Louis Abel 036f69602e
flatten specific images, fix vagrant template 2022-11-22 12:57:44 -07:00
Louis Abel 6f1d80059d
add templates for 9 2022-11-22 12:46:42 -07:00
Louis Abel d0a6592667
remove asprimary for lvm 2022-11-22 11:45:26 -07:00
Louis Abel 6373094d98
add restorecon for mate 2022-11-22 11:28:29 -07:00
Louis Abel 260a3dd5cb
add biosboot part 2022-11-22 00:31:35 -07:00
Louis Abel c37e9bcb86
remove pmbr_boot flag 2022-11-21 23:55:27 -07:00
Louis Abel afe002cb5b
Attempt to resolve EC2 issues with 9.1 2022-11-21 23:52:14 -07:00
Neil Hanlon 7b6840c29c
don't use deprecated options 2022-11-21 17:59:53 -05:00
Neil Hanlon 9570eae705
Add UBI-like container 2022-11-21 17:54:47 -05:00
Neil Hanlon 1c8ddc7d95
add vbox guest additions - update to 6.1.40 2022-11-21 17:42:21 -05:00
Louis Abel f729376f08
fix project ID 2022-11-20 15:40:59 -07:00
Louis Abel d95a297e80
remove unused packages in epel 2022-11-20 10:32:17 -07:00
Louis Abel b86eac9aeb
try to fix mate for aarch64 2022-11-20 10:28:23 -07:00
Louis Abel 561f03bbfb
correct aarch64 templates 2022-11-20 05:17:42 -07:00
Neil Hanlon c29b41cb49
use text mode 2022-11-19 14:12:21 -05:00
Neil Hanlon deac3701d2
copy fix to container minimal 2022-11-19 14:10:14 -05:00
Neil Hanlon a9140ed8cd
Disable kdump addon in containers 2022-11-19 14:07:58 -05:00
Neil Hanlon 69d640a782
fix langpacks-en in another place 2022-11-19 13:23:29 -05:00
Neil Hanlon 3d53fdfe0e
missing a - for langpacks-en 2022-11-19 13:08:54 -05:00
Neil Hanlon 4171b2c712
drop ignoremissing to debug 2022-11-19 12:49:30 -05:00
Neil Hanlon c108390529
add url 2022-11-19 12:30:36 -05:00
Neil Hanlon eb7ccb3865
try with systemctl added in manually 2022-11-19 12:17:56 -05:00
Neil Hanlon ece7929a4d
fix uefi/bios boot on ec2 and genclo 2022-11-19 12:17:25 -05:00
Louis Abel 415f5f6901
move old ks to base, correct lvm ks 2022-11-13 15:29:19 -07:00
Louis Abel 5b57e8d172
always use stg 2022-11-12 09:51:04 -07:00
Louis Abel 50e8429ce1
add initial LVM kickstarts 2022-10-11 22:26:58 -07:00
Neil Hanlon 599cb3a5c0
Revert "install oci-utils from oracle repository"
This reverts commit c2843203d0.
2022-10-11 16:44:35 -04:00
Neil Hanlon c2843203d0
install oci-utils from oracle repository 2022-10-11 16:11:46 -04:00
Neil Hanlon 2aa9a5f4e7
add oracle ks 2022-10-11 13:59:17 -04:00
Neil Hanlon 608859ed64
install langpack-en, not sure why we aren't.. 2022-09-21 11:11:16 -04:00
Louis Abel 0a16a1b5cf
fix grub2-pc package name and comment out sed 2022-09-14 23:34:37 -07:00
Louis Abel ebf7a38c6b
Add temporary locale setting for cloud-init 2022-09-14 19:31:26 -07:00
Louis Abel 9c227108d2
restorecon / likely not needed 2022-09-12 01:10:41 -07:00
Louis Abel 31a9c5f74b
fix primary root ks 2022-09-12 00:40:37 -07:00
Louis Abel bdd0c84fdb
add missing restorecon ops 2022-09-12 00:08:42 -07:00
Louis Abel 089e5afd35
increase base image size 2022-09-11 19:09:54 -07:00
Louis Abel 241b3064a2
try to finalize mate 2022-09-11 18:52:01 -07:00
Louis Abel 025c476cdc
prepare for mate 2022-09-11 14:34:05 -07:00
Louis Abel c66617d380
clean up azure kickstart 2022-09-01 02:35:44 -07:00
Louis Abel 917f94a903
fix an s390x image issue 2022-08-31 20:52:07 -07:00
Louis Abel 008bf056b9
Add virt-what to kickstart (RLBT#0000144c492) 2022-08-31 20:00:17 -07:00
Louis Abel 48f2e305e7
add missing grub2-pc package 2022-08-30 21:10:35 -07:00
Louis Abel 5af72a2030
attempt asprimary trick 2022-08-29 02:25:04 -07:00
Louis Abel 606474ac97
add missing boot partition and grub2-pc-modules 2022-08-29 02:05:51 -07:00
Louis Abel 0a8fc784b6
setup partition table to match fedora 2022-08-29 01:43:00 -07:00
Louis Abel e98172978e
fix if statement, try reqpart again 2022-08-29 01:20:40 -07:00
Louis Abel 702f2b287a
attempt to use fedora style parts 2022-08-29 00:20:29 -07:00
Louis Abel 9b4aab6cc9
clean up EC2 kickstart 2022-08-28 22:38:14 -07:00
Louis Abel 29ba7201c9
adjust genericcloud kickstart 2022-08-25 22:54:30 -07:00
Louis Abel 25599c1132
separate live images by arch 2022-08-23 01:07:50 -07:00
Louis Abel 046de6d786 Merge pull request 'Add VMware Vagrant kickstart for 9' (#4) from lumarel/kickstarts:feature/vagrant-vmware-ks-rl9 into r9
Reviewed-on: #4
2022-07-25 06:02:53 +00:00
lumarel 34bd176f2d
Add VMware Vagrant kickstart 2022-07-24 00:22:14 +02:00
Neil Hanlon dd9d73a0f8
Add UEFI partitions for generic cloud 2022-07-21 10:46:27 -04:00
Louis Abel b2f0118066
fix workstation lite welcome tour 2022-07-12 13:06:52 -07:00
Louis Abel e51f7bb0f7
fix XFCE still 2022-07-11 18:39:16 -07:00
Louis Abel 3ea2667cef
try to fix xfce 2022-07-11 18:22:20 -07:00
Louis Abel 405cfdb912
remove unsigned him and fix grubby 2022-07-11 16:40:55 -07:00
Louis Abel 90157c1fac
add some EFI stuff for live 2022-07-11 16:30:57 -07:00
Louis Abel 2f9f4fd64a
fix readme 2022-07-11 15:49:54 -07:00
Louis Abel 7c1dc22cfc
fix dialog 2022-07-11 09:09:49 -07:00
Louis Abel cb7f32affc
add initial mate kickstarts 2022-07-08 14:16:01 -07:00
Neil Hanlon fbcd5f424d
Fixes for azure on el9 2022-07-08 15:50:36 -04:00
Neil Hanlon 9e9e16aaa7
change to --utc 2022-07-08 15:44:09 -04:00
Neil Hanlon e7d64d75b2
Add azure kickstart to this repo 2022-07-08 15:24:28 -04:00
Louis Abel cde7be8a93
Change 9.0 to just 9 and add peridot repos
To reduce commits (every 6 months), this change makes it so "9" is the
absolute default location as it should be symlinked to the latest in
either staging or prod. With that being said, peridot repositories are
also provided for automation purposes but also at the convenience of the
user if they so choose to use those repos instead.

And the readme was updated a bit.
2022-07-05 20:49:59 -07:00
Neil Hanlon fad38825c7
These don't actually work, despite giving a warning to use them in anaconda 2022-07-04 20:21:35 -04:00
Neil Hanlon 34ff9d485f
Revert "test rearranging the arguments"
This reverts commit bd06f33d71.
2022-07-04 20:20:49 -04:00
Neil Hanlon bd06f33d71
test rearranging the arguments 2022-07-04 20:16:18 -04:00
Neil Hanlon dd8f897fa9
grow genclo disk, reqpart on vagrant 2022-07-04 18:01:25 -04:00
Neil Hanlon bb9888a73a
fix deprecation notices for real this time 2022-07-04 17:50:46 -04:00
Neil Hanlon ae8788fa91
Apparently that's not the right option.. 2022-07-04 17:46:41 -04:00
Neil Hanlon a8c3556bc4
Fixup deprecations in kickstarts 2022-07-04 17:41:15 -04:00
Neil Hanlon eb59b5651a
fix kickstarts 2022-07-04 17:35:11 -04:00
Neil Hanlon d61b6a1b26
No dracut-norescue in 9 2022-07-03 21:50:07 -04:00
Louis Abel 1d39aa6ff2
Fix README 2022-06-29 19:35:18 -07:00
Louis Abel 41e1d78dee
fix up kickstarts 2022-06-29 19:31:05 -07:00
nazunalika 5c668d21b7
start r9 live kickstarts 2022-05-26 09:48:43 -07:00
nazunalika 225ede7fc5
lightdm will be available in EPEL 2022-05-15 19:55:42 -07:00
nazunalika 998a1ead36
remove breeze on xfce 2022-05-15 11:17:53 -07:00
nazunalika 02d4ef974a
remove extraneous posts 2022-05-15 10:34:12 -07:00
nazunalika 50ae667781
add sddm themes 2022-05-15 10:19:26 -07:00
nazunalika 78b5936463
fix up ks 2022-05-15 08:47:38 -07:00
nazunalika ad67199c3e
fix up ks 2022-05-15 08:43:03 -07:00
nazunalika 8cf1ca32bb
hostname shouldn't be localhost 2022-05-15 01:43:21 -07:00
nazunalika d111a30da0
patches are in anaconda now 2022-05-12 13:43:58 -07:00
nazunalika a6b0c4912a
update to 8.6 2022-05-10 07:28:59 -07:00
nazunalika 888b882668
Add XDG 2022-02-28 12:58:44 -07:00
nazunalika a93ba16ed8
fix up the xfce background 2021-11-14 16:16:24 -07:00
Neil Hanlon b1c99d8584
Use staging repos for image builds 2021-11-14 12:48:01 -05:00
nazunalika 1d57465221
XFCE needs a default background 2021-11-13 15:43:54 -07:00
nazunalika c544e9bca7
remove auth from the kickstarts 2021-11-13 15:29:28 -07:00
nazunalika 6d1ffb5136
Add mainline kernel kickstart 2021-11-10 13:23:14 -07:00
nazunalika 8ea740d0ce
8.5 2021-11-10 11:39:40 -07:00
Neil Hanlon f7850ec5d8
Remember to always stay positive 2021-10-27 17:37:18 -04:00
Neil Hanlon de40f77ca0
a \ 2021-10-27 17:26:14 -04:00
Neil Hanlon bc9779cca4
Cleanup container image even more 2021-10-27 15:30:06 -04:00
Neil Hanlon 4b670a9ad2
swap dracut for kexec-tools 2021-10-26 19:55:24 -04:00
Neil Hanlon cfc4a16b1a
exclude dracut 2021-10-26 17:08:26 -04:00
Neil Hanlon 25b7bd31d5
skip kexec tools 2021-10-26 16:24:20 -04:00
Neil Hanlon 701c2785b8
Update container image to build w/o ISO 2021-10-20 15:16:27 -04:00
nazunalika 9936c1728e
make lite images 2021-10-06 21:23:38 -07:00
nazunalika 837ae26098
Flatten kickstarts 2021-07-02 16:21:36 -07:00
nazunalika e8cc11b128
add r8 branch 2021-07-02 16:17:10 -07:00
226 changed files with 15332 additions and 1199 deletions

82
README.md Normal file
View File

@ -0,0 +1,82 @@
# 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](https://git.resf.org/sig_core/rocky-kiwi-descriptions/src/branch/r9).
## 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`.

274
Rocky-9-Azure-Base.ks Normal file
View File

@ -0,0 +1,274 @@
#version=DEVEL
# Keyboard layouts
keyboard 'us'
# Root password
rootpw --iscrypted thereisnopasswordanditslocked
# System language
lang en_US.UTF-8
# Shutdown after installation
shutdown
# System timezone
timezone UTC --isUtc
# Use text mode install
text
# Network information
network --bootproto=dhcp --device=link --activate
# Use network installation
url --url="https://download.rockylinux.org/stg/rocky/9/BaseOS/$basearch/os/"
# System authorization information
auth --enableshadow --passalgo=sha512
# Firewall configuration
firewall --enabled --service=ssh
firstboot --disable
# SELinux configuration
selinux --enforcing
# System services
services --disabled="kdump,rhsmcertd" --enabled="NetworkManager,sshd,rsyslog,chronyd,cloud-init,cloud-init-local,cloud-config,cloud-final,rngd"
# System bootloader configuration
bootloader --append="rootdelay=300 console=ttyS0 earlyprintk=ttyS0 no_timer_check crashkernel=auto net.ifnames=0" --location=mbr --timeout=1
# Disk partitioning information
# NOTE(neil): 2023-05-12 NONE of reqpart, clearpart, zerombr can be used. We
# are creating partitions manually in %pre to ensure proper ordering as
# Anaconda does NOT ensure the ordering `part` commands.
part /boot/efi --fstype="efi" --onpart=vda1
part /boot --fstype="xfs" --label=boot --onpart=vda2
part prepboot --fstype="prepboot" --onpart=vda3
part biosboot --fstype="biosboot" --onpart=vda4
part / --size=8000 --fstype="xfs" --mkfsoptions "-m bigtime=0,inobtcount=0" --grow --onpart=vda5
%pre
# Clear the Master Boot Record
dd if=/dev/zero of=/dev/vda bs=512 count=1
# Create a new GPT partition table
parted /dev/vda mklabel gpt
# Create a partition for /boot/efi
parted /dev/vda mkpart primary fat32 1MiB 100MiB
parted /dev/vda set 1 boot on
# Create a partition for /boot
parted /dev/vda mkpart primary xfs 100MiB 1100MiB
# Create a partition for prep
parted /dev/vda mkpart primary 1100MiB 1104MiB
# Create a partition for bios_grub
parted /dev/vda mkpart primary 1104MiB 1105MiB
# Create a partition for LVM
parted /dev/vda mkpart primary xfs 1106MiB 10.7GB
%end
%post --erroronfail
passwd -d root
passwd -l root
systemctl enable waagent
# Attempting to force legacy BIOS boot if we boot from UEFI
if [ "$(arch)" = "x86_64" ]; then
dnf install grub2-pc-modules grub2-pc -y
grub2-install --target=i386-pc /dev/vda
fi
# Ensure that the pmbr_boot flag is off
parted /dev/vda disk_set pmbr_boot off
# Common Cloud Tweaks
# setup systemd to boot to the right runlevel
rm -f /etc/systemd/system/default.target
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
echo .
# remove linux-firmware as we're virt and it's half a gig
dnf -C -y remove linux-firmware
# Remove firewalld; it is required to be present for install/image building.
# but we dont ship it in cloud
dnf -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
dnf -C -y remove avahi\*
sed -i '/^#NAutoVTs=.*/ a\
NAutoVTs=0' /etc/systemd/logind.conf
echo "virtual-guest" > /etc/tuned/active_profile
cat << EOF | tee -a /etc/NetworkManager/conf.d/dhcp-timeout.conf
# Configure dhcp timeout to 300s by default
[connection]
ipv4.dhcp-timeout=300
EOF
cat > /etc/sysconfig/network << EOF
NETWORKING=yes
NOZEROCONF=yes
EOF
# Remove build-time resolvers to fix #16948
truncate -s 0 /etc/resolv.conf
# generic localhost names
cat > /etc/hosts << EOF
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
EOF
echo .
# azure settings
# Configure waagent for cloud-init
sed -i 's/Provisioning.UseCloudInit=n/Provisioning.UseCloudInit=y/g' /etc/waagent.conf
sed -i 's/Provisioning.Enabled=y/Provisioning.Enabled=n/g' /etc/waagent.conf
# Azure: handle sr-iov and networkmanaeger
cat << EOF | tee -a /etc/udev/rules.d/68-azure-sriov-nm-unmanaged.rules
# Accelerated Networking on Azure exposes a new SRIOV interface to the VM.
# This interface is transparently bonded to the synthetic interface,
# so NetworkManager should just ignore any SRIOV interfaces.
SUBSYSTEM=="net", DRIVERS=="hv_pci", ACTION=="add", ENV{NM_UNMANAGED}="1"
EOF
# Azure: Time sync for linux
## Setup udev rule for ptp_hyperv
cat << EOF | tee -a /etc/udev/rules.d/98-hyperv-ptp.rules
## See: https://docs.microsoft.com/en-us/azure/virtual-machines/linux/time-sync#check-for-ptp-clock-source
SUBSYSTEM=="ptp", ATTR{clock_name}=="hyperv", SYMLINK += "ptp_hyperv"
EOF
# Configure chrony to use ptp_hyperv
cat << EOF | tee -a /etc/chrony.conf
# Setup hyperv PTP device as refclock
refclock PHC /dev/ptp_hyperv poll 3 dpoll -2 offset 0 stratum 2
EOF
# Azure: Blacklist modules
cat << EOF | tee -a /etc/modprobe.d/azure-blacklist.conf
blacklist amdgpu
blacklist nouveau
blacklist radeon
EOF
# Azure: cloud-init customizations for Hyperv
cat << EOF | tee /etc/cloud/cloud.cfg.d/10-azure-kvp.cfg
# Enable logging to the Hyper-V kvp in Azure
reporting:
logging:
type: log
telemetry:
type: hyperv
EOF
# Kernel and Drivers
# Add drivers when building in VMWare, Vbox, or KVM (KVM)
cat << EOF | tee -a /etc/dracut.conf.d/80-azure.conf
add_drivers+=" hv_vmbus hv_netvsc hv_storvsc "
EOF
dracut -f -v
cat <<EOL > /etc/sysconfig/kernel
# UPDATEDEFAULT specifies if new-kernel-pkg should make
# new kernels the default
UPDATEDEFAULT=yes
# DEFAULTKERNEL specifies the default kernel package type
DEFAULTKERNEL=kernel
EOL
# make sure firstboot doesn't start
echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
# rocky cloud user
sed -i '1i # Modified for cloud image' /etc/cloud/cloud.cfg
sed -i 's/name: cloud-user/name: rocky/g' /etc/cloud/cloud.cfg
echo -e 'rocky\tALL=(ALL)\tNOPASSWD: ALL' >> /etc/sudoers
# this shouldn't be the case, but we'll do it anyway
sed -i 's|^enabled=1|enabled=0|' /etc/yum/pluginconf.d/product-id.conf
sed -i 's|^enabled=1|enabled=0|' /etc/yum/pluginconf.d/subscription-manager.conf
dnf clean all
truncate -c -s 0 /var/log/dnf.log
# XXX instance type markers - MUST match Rocky Infra expectation
echo 'azure' > /etc/yum/vars/infra
# Azure Cleanup
sudo rm -f /var/log/waagent.log
sudo cloud-init clean
waagent -force -deprovision+user
# Common cleanup
rm -f ~/.bash_history
export HISTSIZE=0
rm -f /var/lib/systemd/random-seed
rm -rf /root/anaconda-ks.cfg
rm -rf /root/install.log
rm -rf /root/install.log.syslog
rm -rf "/var/lib/yum/*"
rm -rf "/var/log/anaconda*"
rm -rf /var/log/yum.log
# Wipe machineid
cat /dev/null > /etc/machine-id
# Fix selinux
touch /var/log/cron
touch /var/log/boot.log
mkdir -p /var/cache/yum
/usr/sbin/fixfiles -R -a restore
true
%end
%packages
@core
NetworkManager
WALinuxAgent
chrony
cloud-init
cloud-utils-growpart
dhcp-client
dnf-utils
dracut-config-generic
firewalld
gdisk
grub2
hyperv-daemons
kernel
rng-tools
rocky-release
rsync
tar
yum-utils
-aic94xx-firmware
-alsa-firmware
-alsa-lib
-alsa-tools-firmware
-biosdevname
-iprutils
-ivtv-firmware
-iwl100-firmware
-iwl1000-firmware
-iwl105-firmware
-iwl135-firmware
-iwl2000-firmware
-iwl2030-firmware
-iwl3160-firmware
-iwl3945-firmware
-iwl4965-firmware
-iwl5000-firmware
-iwl5150-firmware
-iwl6000-firmware
-iwl6000g2a-firmware
-iwl6000g2b-firmware
-iwl6050-firmware
-iwl7260-firmware
-langpacks-*
-langpacks-en
-libertas-sd8686-firmware
-libertas-sd8787-firmware
-libertas-usb8388-firmware
-plymouth
-qemu-guest-agent
%end

280
Rocky-9-Azure-LVM.ks Normal file
View File

@ -0,0 +1,280 @@
#version=DEVEL
# Keyboard layouts
keyboard 'us'
# Root password
rootpw --iscrypted thereisnopasswordanditslocked
# System language
lang en_US.UTF-8
# Shutdown after installation
shutdown
# System timezone
timezone UTC --isUtc
# Use text mode install
text
# Network information
network --bootproto=dhcp --device=link --activate
# Use network installation
url --url="https://download.rockylinux.org/stg/rocky/9/BaseOS/$basearch/os/"
# System authorization information
auth --enableshadow --passalgo=sha512
# Firewall configuration
firewall --enabled --service=ssh
firstboot --disable
# SELinux configuration
selinux --enforcing
# System services
services --disabled="kdump,rhsmcertd" --enabled="NetworkManager,sshd,rsyslog,chronyd,cloud-init,cloud-init-local,cloud-config,cloud-final,rngd"
# System bootloader configuration
bootloader --append="rootdelay=300 console=ttyS0 earlyprintk=ttyS0 no_timer_check crashkernel=auto net.ifnames=0" --location=mbr --timeout=1
# Clear the Master Boot Record
#zerombr
# Partition clearing information
#clearpart --all --initlabel --disklabel=gpt
# Disk partitioning information
part /boot/efi --fstype="efi" --onpart=vda1
part /boot --fstype="xfs" --label=boot --onpart=vda2
part prepboot --fstype="prepboot" --onpart=vda3
part biosboot --fstype="biosboot" --onpart=vda4
part pv.01 --grow --ondisk=vda --onpart=vda5
volgroup rocky pv.01
logvol / --grow --size=8000 --mkfsoptions="-m bigtime=0,inobtcount=0" --name=root --vgname=rocky
%pre
# Clear the Master Boot Record
dd if=/dev/zero of=/dev/vda bs=512 count=1
# Create a new GPT partition table
parted /dev/vda mklabel gpt
# Create a partition for /boot/efi
parted /dev/vda mkpart primary fat32 1MiB 100MiB
parted /dev/vda set 1 boot on
# Create a partition for /boot
parted /dev/vda mkpart primary xfs 100MiB 1100MiB
# Create a partition for prep
parted /dev/vda mkpart primary 1100MiB 1104MiB
# Create a partition for bios_grub
parted /dev/vda mkpart primary 1104MiB 1105MiB
# Create a partition for LVM
parted /dev/vda mkpart primary ext2 1106MiB 10.7GB
parted /dev/vda set 5 lvm on
%end
%post --erroronfail
passwd -d root
passwd -l root
systemctl enable waagent
# Attempting to force legacy BIOS boot if we boot from UEFI
if [ "$(arch)" = "x86_64" ]; then
dnf install grub2-pc-modules grub2-pc -y
grub2-install --target=i386-pc /dev/vda
fi
# Ensure that the pmbr_boot flag is off
parted /dev/vda disk_set pmbr_boot off
# Common Cloud Tweaks
# setup systemd to boot to the right runlevel
rm -f /etc/systemd/system/default.target
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
echo .
# remove linux-firmware as we're virt and it's half a gig
dnf -C -y remove linux-firmware
# Remove firewalld; it is required to be present for install/image building.
# but we dont ship it in cloud
dnf -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
dnf -C -y remove avahi\*
sed -i '/^#NAutoVTs=.*/ a\
NAutoVTs=0' /etc/systemd/logind.conf
echo "virtual-guest" > /etc/tuned/active_profile
cat << EOF | tee -a /etc/NetworkManager/conf.d/dhcp-timeout.conf
# Configure dhcp timeout to 300s by default
[connection]
ipv4.dhcp-timeout=300
EOF
cat > /etc/sysconfig/network << EOF
NETWORKING=yes
NOZEROCONF=yes
EOF
# Remove build-time resolvers to fix #16948
truncate -s 0 /etc/resolv.conf
# generic localhost names
cat > /etc/hosts << EOF
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
EOF
echo .
# azure settings
# Configure waagent for cloud-init
sed -i 's/Provisioning.UseCloudInit=n/Provisioning.UseCloudInit=y/g' /etc/waagent.conf
sed -i 's/Provisioning.Enabled=y/Provisioning.Enabled=n/g' /etc/waagent.conf
# Azure: handle sr-iov and networkmanaeger
cat << EOF | tee -a /etc/udev/rules.d/68-azure-sriov-nm-unmanaged.rules
# Accelerated Networking on Azure exposes a new SRIOV interface to the VM.
# This interface is transparently bonded to the synthetic interface,
# so NetworkManager should just ignore any SRIOV interfaces.
SUBSYSTEM=="net", DRIVERS=="hv_pci", ACTION=="add", ENV{NM_UNMANAGED}="1"
EOF
# Azure: Time sync for linux
## Setup udev rule for ptp_hyperv
cat << EOF | tee -a /etc/udev/rules.d/98-hyperv-ptp.rules
## See: https://docs.microsoft.com/en-us/azure/virtual-machines/linux/time-sync#check-for-ptp-clock-source
SUBSYSTEM=="ptp", ATTR{clock_name}=="hyperv", SYMLINK += "ptp_hyperv"
EOF
# Configure chrony to use ptp_hyperv
cat << EOF | tee -a /etc/chrony.conf
# Setup hyperv PTP device as refclock
refclock PHC /dev/ptp_hyperv poll 3 dpoll -2 offset 0 stratum 2
EOF
# Azure: Blacklist modules
cat << EOF | tee -a /etc/modprobe.d/azure-blacklist.conf
blacklist amdgpu
blacklist nouveau
blacklist radeon
EOF
# Azure: cloud-init customizations for Hyperv
cat << EOF | tee /etc/cloud/cloud.cfg.d/10-azure-kvp.cfg
# Enable logging to the Hyper-V kvp in Azure
reporting:
logging:
type: log
telemetry:
type: hyperv
EOF
# Kernel and Drivers
# Add drivers when building in VMWare, Vbox, or KVM (KVM)
cat << EOF | tee -a /etc/dracut.conf.d/80-azure.conf
add_drivers+=" hv_vmbus hv_netvsc hv_storvsc "
EOF
dracut -f -v
cat <<EOL > /etc/sysconfig/kernel
# UPDATEDEFAULT specifies if new-kernel-pkg should make
# new kernels the default
UPDATEDEFAULT=yes
# DEFAULTKERNEL specifies the default kernel package type
DEFAULTKERNEL=kernel
EOL
# make sure firstboot doesn't start
echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
# rocky cloud user
sed -i '1i # Modified for cloud image' /etc/cloud/cloud.cfg
sed -i 's/name: cloud-user/name: rocky/g' /etc/cloud/cloud.cfg
echo -e 'rocky\tALL=(ALL)\tNOPASSWD: ALL' >> /etc/sudoers
# this shouldn't be the case, but we'll do it anyway
sed -i 's|^enabled=1|enabled=0|' /etc/yum/pluginconf.d/product-id.conf
sed -i 's|^enabled=1|enabled=0|' /etc/yum/pluginconf.d/subscription-manager.conf
dnf clean all
truncate -c -s 0 /var/log/dnf.log
# XXX instance type markers - MUST match Rocky Infra expectation
echo 'azure' > /etc/yum/vars/infra
# Azure Cleanup
sudo rm -f /var/log/waagent.log
sudo cloud-init clean
waagent -force -deprovision+user
# Common cleanup
rm -f ~/.bash_history
export HISTSIZE=0
rm -f /var/lib/systemd/random-seed
rm -rf /root/anaconda-ks.cfg
rm -rf /root/install.log
rm -rf /root/install.log.syslog
rm -rf "/var/lib/yum/*"
rm -rf "/var/log/anaconda*"
rm -rf /var/log/yum.log
# Wipe machineid
cat /dev/null > /etc/machine-id
# Fix selinux
touch /var/log/cron
touch /var/log/boot.log
mkdir -p /var/cache/yum
/usr/sbin/fixfiles -R -a restore
# LVM Variant Fix, remove system.devices
rm -fv /etc/lvm/devices/system.devices
true
%end
%packages
@core
NetworkManager
WALinuxAgent
chrony
cloud-init
cloud-utils-growpart
dhcp-client
dnf-utils
dracut-config-generic
firewalld
gdisk
grub2
hyperv-daemons
kernel
rng-tools
rocky-release
rsync
tar
yum-utils
-aic94xx-firmware
-alsa-firmware
-alsa-lib
-alsa-tools-firmware
-biosdevname
-iprutils
-ivtv-firmware
-iwl100-firmware
-iwl1000-firmware
-iwl105-firmware
-iwl135-firmware
-iwl2000-firmware
-iwl2030-firmware
-iwl3160-firmware
-iwl3945-firmware
-iwl4965-firmware
-iwl5000-firmware
-iwl5150-firmware
-iwl6000-firmware
-iwl6000g2a-firmware
-iwl6000g2b-firmware
-iwl6050-firmware
-iwl7260-firmware
-langpacks-*
-langpacks-en
-libertas-sd8686-firmware
-libertas-sd8787-firmware
-libertas-usb8388-firmware
-plymouth
-qemu-guest-agent
%end

234
Rocky-9-Cinnamon.ks Normal file
View File

@ -0,0 +1,234 @@
# Generated by pykickstart v3.48
#version=DEVEL
# Firewall configuration
firewall --enabled --service=mdns
# Keyboard layouts
keyboard 'us'
# System language
lang en_US.UTF-8
# Network information
network --bootproto=dhcp --device=link --activate
# Shutdown after installation
shutdown
repo --name="BaseOS" --baseurl=http://dl.rockylinux.org/pub/rocky/9/BaseOS/$basearch/os/ --cost=200
repo --name="AppStream" --baseurl=http://dl.rockylinux.org/pub/rocky/9/AppStream/$basearch/os/ --cost=200
repo --name="CRB" --baseurl=http://dl.rockylinux.org/pub/rocky/9/CRB/$basearch/os/ --cost=200
repo --name="extras" --baseurl=http://dl.rockylinux.org/pub/rocky/9/extras/$basearch/os --cost=200
repo --name="epel" --baseurl=https://dl.fedoraproject.org/pub/epel/9/Everything/$basearch/ --cost=200
# Root password
rootpw --iscrypted --lock locked
# SELinux configuration
selinux --enforcing
# System services
services --disabled="sshd" --enabled="NetworkManager,ModemManager"
# System timezone
timezone US/Eastern
# Use network installation
url --url="http://dl.rockylinux.org/pub/rocky/9/BaseOS/$basearch/os/"
# X Window System configuration information
xconfig --startxonboot
# System bootloader configuration
bootloader --location=none
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all
# Disk partitioning information
part / --fstype="ext4" --size=5120
part / --size=8192
%post
systemctl enable livesys.service
systemctl enable livesys-late.service
# Enable tmpfs for /tmp - this is a good idea
systemctl enable tmp.mount
# make it so that we don't do writing to the overlay for things which
# are just tmpdirs/caches
# note https://bugzilla.redhat.com/show_bug.cgi?id=1135475
cat >> /etc/fstab << EOF
vartmp /var/tmp tmpfs defaults 0 0
EOF
# PackageKit likes to play games. Let's fix that.
rm -f /var/lib/rpm/__db*
releasever=$(rpm -q --qf '%{version}\n' --whatprovides system-release)
basearch=$(uname -i)
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9
echo "Packages within this LiveCD"
rpm -qa
# Note that running rpm recreates the rpm db files which aren't needed or wanted
rm -f /var/lib/rpm/__db*
# go ahead and pre-make the man -k cache (#455968)
/usr/bin/mandb
# make sure there aren't core files lying around
rm -f /core*
# remove random seed, the newly installed instance should make it's own
rm -f /var/lib/systemd/random-seed
# convince readahead not to collect
# FIXME: for systemd
echo 'File created by kickstart. See systemd-update-done.service(8).' \
| tee /etc/.updated >/var/.updated
# Drop the rescue kernel and initramfs, we don't need them on the live media itself.
# See bug 1317709
rm -f /boot/*-rescue*
# Disable network service here, as doing it in the services line
# fails due to RHBZ #1369794 - the error is expected
systemctl disable network
# Remove machine-id on generated images
rm -f /etc/machine-id
touch /etc/machine-id
# relabel
/usr/sbin/restorecon -RF /
%end
%post --nochroot
# only works on x86_64
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
# For livecd-creator builds. livemedia-creator is fine.
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
cp /usr/bin/livecd-iso-to-disk /LiveOS
fi
%end
%post
# cinnamon configuration
cat > /etc/sysconfig/desktop <<EOF
PREFERRED=/usr/bin/cinnamon-session
DISPLAYMANAGER=/usr/sbin/lightdm
EOF
sed -i 's/^livesys_session=.*/livesys_session="cinnamon"/' /etc/sysconfig/livesys
# this doesn't come up automatically. not sure why.
systemctl enable --force lightdm.service
# CRB needs to be enabled for EPEL to function.
dnf config-manager --set-enabled crb
%end
%packages
@anaconda-tools
@base-x
@core
@dial-up
@fonts
@guest-desktop-agents
@hardware-support
@input-methods
@multimedia
@standard
NetworkManager-adsl
NetworkManager-bluetooth
NetworkManager-l2tp-gnome
NetworkManager-libreswan-gnome
NetworkManager-openconnect-gnome
NetworkManager-openvpn-gnome
NetworkManager-ppp
NetworkManager-pptp-gnome
NetworkManager-wifi
NetworkManager-wwan
aajohan-comfortaa-fonts
anaconda
anaconda-install-env-deps
anaconda-live
chkconfig
cinnamon
cinnamon-control-center
cinnamon-screensaver
dracut-live
efi-filesystem
efibootmgr
efivar-libs
eom
epel-release
f36-backgrounds-extras-gnome
f36-backgrounds-gnome
f37-backgrounds-extras-gnome
f37-backgrounds-gnome
firefox
firewall-config
gjs
glibc-all-langpacks
gnome-calculator
gnome-disk-utility
gnome-screenshot
gnome-system-monitor
gnome-terminal
grub2-common
grub2-efi-*64
grub2-efi-*64-cdboot
grub2-pc-modules
grub2-tools
grub2-tools-efi
grub2-tools-extra
grub2-tools-minimal
grubby
gstreamer1-plugins-ugly-free
gvfs-gphoto2
gvfs-mtp
gvfs-smb
hexchat
imsettings-systemd
initial-setup-gui
initscripts
kernel
kernel-modules
kernel-modules-extra
libreoffice-calc
libreoffice-emailmerge
libreoffice-graphicfilter
libreoffice-impress
libreoffice-writer
lightdm
livesys-scripts
memtest86+
metacity
nemo-fileroller
nemo-image-converter
nemo-preview
nm-connection-editor
parole
pipewire-alsa
pipewire-pulseaudio
powerline
redshift-gtk
rocky-backgrounds
rocky-release
sane-backends-drivers-scanners
setroubleshoot
shim-*64
slick-greeter
slick-greeter-cinnamon
syslinux
thunderbird
tmux
tmux-powerline
transmission
vim-enhanced
vim-powerline
wireplumber
xdg-user-dirs-gtk
xed
xreader
-hplip
-isdn4k-utils
-mpage
-shim-unsigned-*64
-xane-gimp
-xsane
%end

View File

@ -1,68 +1,78 @@
# This is a minimal Rocky kickstart designed for docker.
# It will not produce a bootable system
# To use this kickstart, run the following command
# livemedia-creator --make-tar \
# --iso=/path/to/boot.iso \
# --ks=rocky-8.ks \
# --image-name=rocky-root.tar.xz
#
# To use this kickstart, run make
# Basic setup information
url --url https://download.rockylinux.org/stg/rocky/9/BaseOS/$basearch/os/
text
keyboard us
rootpw --lock --iscrypted locked
timezone --isUtc --nontp UTC
selinux --enforcing
bootloader --disable
firewall --disabled
network --bootproto=dhcp --device=link --activate --onboot=on
rootpw --lock --iscrypted locked