You should now have the contents of the Arch Linux ISO at Installation Media /./arch/boot/x86_64/initramfs-linux.img initrd Get the Arch Linux ISO (example URL): wget Ĭreate a temporary directory and mount the ISO: mkdir tmp_isoĬreate a directory for the ISO’s files to live in: mkdir /var/www/html/pub/archlinuxĬopy the ISO’s files: cp -r tmp_iso/* /var/www/html/pub/archlinux/Ĭreate directories and symlinks so Foreman finds ‘linux’ and ‘initrd’: mkdir -p /var/www/html/pub/archlinux/boot/x86_64/loaderĬd /var/www/html/pub/archlinux/boot/x86_64/loader/ Provisioning script ( Arch Linux default).PXELinux template ( Arch Linux default PXELinux).adjust kernel parameters to run a provision script.provide the Arch Linux ISO’s files via http.For that reason we need to adjust a few things after the script has run (setting passwords for example). The archinstall script is not mature enough (currently). We also need to adjust where Arch Linux can find the actual ISO files. It will be provided via http.įor this we will also use some symlinks in order to point Foreman to the correct path. The next thing we need is a way to start the live ISO’s kernel. Those configuration files can be baked into partition tables and provisioning scripts. This way we can use host specific information within the archinstall script (hostname, etc.).Īrchinstall can save your manually provided configuration to files which you can then use to run the script non-interactively. You can point the parameter - that determines which script to run at boot - to a URL → e.g. It does however offer the ability to run a script when booting into the live ISO.Īrch Linux also offers the archinstall script, which can be used to install the system either interactively or non-interactively. RequirementsĪrch Linux does not provide anything similar to preseed or autoyast. TLDRīut the scripts used still need some love. So please bear with me and my code style. I am not deep into ERB or the Foreman ecosystem itself. ![]() Since I am a pretty big fan of A) automation and B) Arch Linux I instantly tried to integrate Arch. I am pretty new to the Foreman project and was just recently introduced to it. A Guide To Install Arch Linux Using Foreman
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |