{"id":22426244,"url":"https://github.com/baroxx/rhel8-kickstart","last_synced_at":"2025-10-10T06:03:27.904Z","repository":{"id":172252985,"uuid":"340933762","full_name":"baroxx/rhel8-kickstart","owner":"baroxx","description":"This repository provides templates for RHEL8 Kickstart files for an automated installation","archived":false,"fork":false,"pushed_at":"2022-04-10T12:12:12.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-01T11:25:27.342Z","etag":null,"topics":["kickstart","rhel8"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/baroxx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-21T15:25:52.000Z","updated_at":"2022-03-18T17:31:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"92390015-4049-496f-a485-2014f2f9604c","html_url":"https://github.com/baroxx/rhel8-kickstart","commit_stats":null,"previous_names":["baroxx/rhel8-kickstart"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baroxx%2Frhel8-kickstart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baroxx%2Frhel8-kickstart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baroxx%2Frhel8-kickstart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baroxx%2Frhel8-kickstart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baroxx","download_url":"https://codeload.github.com/baroxx/rhel8-kickstart/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245791955,"owners_count":20672671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kickstart","rhel8"],"created_at":"2024-12-05T19:17:06.821Z","updated_at":"2025-10-10T06:03:22.871Z","avatar_url":"https://github.com/baroxx.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RHEL8 Kickstart\n\nThis repository contains examples for setups with a Kickstart file.\n\n- [server/](server/) - for a default server installation\n- [openstack-node/](openstack-node/) - for the preparation of OpenStack nodes\n\n# Preparation of the Kickstart file\n\nThe Kickstart files in the subdirectories are for a specific use case. You can use [rhel8-server/anaconda-ks.cfg](rhel8-server/anaconda-ks.cfg) as a template for your use case. The root password and the subscription data must be changes.\n\nYou can also use the [Kickstart Generator](https://access.redhat.com/labs/kickstartconfig/) from Red Hat and do some adjustments (for example manage the subscription with [RHSM](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/performing_an_advanced_rhel_installation/register-and-install-from-cdn-kickstart_installing-rhel-as-an-experienced-user)). \n\n# Preparation of the Image\n\nThe following instructions show the required steps to create a bootable image with a Kickstart file for an automated installation. Replace \"bastian\" with your username.\n\nDownload the ISO: https://developers.redhat.com/products/rhel/download\n\n```\n# Mount the iso:\nmount -o loop /tmp/rhel-8.5-x86_64-dvd.iso /mnt/\n\n# Copy the content to a working directory:\ncp -avRf /mnt/* /home/bastian/rhel-install/\n\n# Unmount the ISO:\numount /mnt\n\n# Copy the Kickstart file into the working directory:\ncp /root/anaconda-ks.cfg /home/bastian/rhel-install/\n\n# Get the volume name of the ISO: \nisoinfo -d -i ISONAME.iso | grep \"Volume id\" | \\ sed -e 's/Volume id: //' -e 's/ /\\\\x20/g'\n\n# Add the menu entry to the isolinux boot menu (see example below)\n\n# Mount the efi bootloader: \nmount /root/rhel-install/images/efiboot.img /mnt/\n\n# Add the a menu entry for the Kickstart installation to the grub menu (see example below): \nnano /mnt/EFI/BOOT/grub.cfg\n\n# Unmount the image: \numount /mnt\n\n# Create the new ISO (change the volume name, input dir and output file): \nmkisofs -untranslated-filenames -volid \"RHEL-8-5-0-BaseOS-x86_64\" -J -joliet-long -rational-rock -translation-table -input-charset utf-8 -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e images/efiboot.img -no-emul-boot -o rhel8-ks.iso -graft-points /home/bastian/rhel-install/\n\n# Make the new ISO bootable:\nisohybrid --uefi rhel8-ks.iso\n```\n\n**Example isolinux boot menu**\n\nSet the inst.stage2=hd:LABEL= and inst.ks=hd:LABEL= values to the volume name of the ISO, see step 6\n```\nlabel kickstart\n  menu label ^Kickstart Installation of RHEL8.5\n  kernel vmlinuz\n  append initrd=initrd.img inst.stage2=hd:LABEL=RHEL-8-5-0-BaseOS-x86_64 inst.ks=hd:LABEL=RHEL-8-5-0-BaseOS-x86_64:/anaconda-ks.cfg\n```\n\n**Example grub boot menu**\n\nSet the inst.stage2=hd:LABEL= and inst.ks=hd:LABEL= values to the volume name of the ISO, see step 6\n```\nmenuentry 'Kickstart Installation of RHEL8.5' --class fedora --class gnu-linux --class gnu --class os {\n        linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=RHEL-8-5-0-BaseOS-x86_64 inst.ks=hd:LABEL=RHEL-8-5-0-BaseOS-x86_64:/anaconda-ks.cfg\n        initrdefi /images/pxeboot/initrd.img\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaroxx%2Frhel8-kickstart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaroxx%2Frhel8-kickstart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaroxx%2Frhel8-kickstart/lists"}