title: How to create AlmaLinux ISO with rpm files included in the ISO, so that installer does not need internet connection to download the packages?
body: <p>I am trying to create an ISO from AlmaLinux, which will have the gui installer and this ISO would have all the rpm files, packages and dependencies needed when I select a specific installation environment in the installation screen.</p>
  <p>The end result should be an ISO, that when I insert it on a new machine that does not have internet connection, I would be able to boot from the ISO, start the gui installation, select the environment, e.g.
  &quot;Workstation&quot; or &quot;KDE&quot; and then the installer would install the corresponding packages from the ISO into that machine, not from the internet.</p>
  <p>I have found a guide that uses a Kickstart file, I updated it and it works for a gui installation but the packages are downloaded from the internet (from some AlmaLinux package manager server), the required packages are not included in the ISO itself.</p>
  <p>I used this guide: <a href="https://onezeroone.dev/customizing-the-almalinux-installer-media/" rel="nofollow noreferrer">https://onezeroone.dev/customizing-the-almalinux-installer-media/</a>
  and I did some changes in this Kickstart file: <a href="https://onezeroone.dev/example-almalinux-kickstart/" rel="nofollow noreferrer">https://onezeroone.dev/example-almalinux-kickstart/</a></p>
  <p>I also tried <code>repo=cdrom</code> or <code>repo --name=dvd --baseurl=file://Packages</code> but it does not work, which is expected</p>
  <p>On CentOS 7 I used Pungi for this, which checks for all packages and dependencies needed and it includes them in the final ISO, but on AlmaLinux this does not work. Could you please provide some help?</p>
  <p>Thank you!</p>