Skip to content

Commit

Permalink
Deploy to gh-pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
github deployment bot committed Jan 7, 2024
1 parent f5fde06 commit d71a1b6
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 17 deletions.
20 changes: 7 additions & 13 deletions _sources/el/pxeboot.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,13 @@ Rocky Linux

Setting up Rocky Linux (or any other Enterprise Linux distribution) should be straight forward. We'll download both Rocky Linux 8 and Rocky Linux 9 and setup the menus.

.. note:: Using upstream mirror path
.. note::

If you plan on not hosting a mirror of the base repositories, ensure that your inst.repo/inst.stage2 commands are accurate to a mirror of your choice.

.. code-block:: none
The below assumes we are hosting a mirror of the downloaded ISO, which will make installations quicker as it'll be confined to your network.

.. code-block:: shell
% cd /var/tmp
# Rocky Linux 8
Expand All @@ -267,30 +269,25 @@ Setting up Rocky Linux (or any other Enterprise Linux distribution) should be st
Here we'll copy the data we want into the necessary directories. Any pxeboot related images will go to `/var/lib/tftpboot/rocky-X-ARCH` (X being the major version, ARCH being the architecture). If we are keeping a local mirror of the DVD, we'll put it into `/var/www/html/os/rocky/X/ARCH`. Below is for x86_64, but the same steps can be repeated for aarch64 without any issues. Just replace x86_64 with aarch64.

.. code-block:: shell
## Rocky 8
% mount -o loop Rocky-8-latest-x86_64-dvd.iso /mnt
% mkdir /var/lib/tftpboot/rocky-8-x86_64
% cp /mnt/images/pxeboot/* /var/lib/tftpboot/rocky-8-x86_64
##################################
# If you are hosting a mirror...
% mkdir -p /var/www/html/os/rocky/8/x86_64
% rsync -vrlptDSH --delete /mnt/ /var/www/html/os/rocky/8/x86_64
% restorecon -R /var/www/html/os/rocky/8
##################################
% umount /mnt
## Rocky 9
% mount -o loop Rocky-9-latest-x86_64-dvd.iso /mnt
% mkdir /var/lib/tftpboot/rocky-9-x86_64
% cp /mnt/images/pxeboot/* /var/lib/tftpboot/rocky-9-x86_64
##################################
# If you are hosting a mirror...
% mkdir -p /var/www/html/os/rocky/9/x86_64
% rsync -vrlptDSH --delete /mnt/ /var/www/html/os/rocky/9/x86_64
% restorecon -R /var/www/html/os/rocky/9
##################################
% umount /mnt
% restorecon -R /var/www/html/os/rocky
At this point, we'll need to setup the grub menus. We'll setup non-kickstart examples for BIOS and UEFI.

.. code-block:: none
Expand Down Expand Up @@ -366,12 +363,9 @@ Here we'll copy the data we want into the necessary directories. Any pxeboot rel
% mount -o loop CentOS-Stream-9-latest-x86_64-dvd1.iso /mnt
% mkdir /var/lib/tftpboot/centos-9-x86_64
% cp /mnt/images/pxeboot/* /var/lib/tftpboot/centos-9-x86_64
##################################
# If you are hosting a mirror...
% mkdir -p /var/www/html/os/centos/9/x86_64
% rsync -vrlptDSH --delete /mnt/ /var/www/html/os/centos/9/x86_64
% restorecon -R /var/www/html/os/centos/9
##################################
% umount /mnt
At this point, we'll need to setup the grub menus. We'll setup non-kickstart examples for BIOS and UEFI.
Expand Down
22 changes: 19 additions & 3 deletions el/pxeboot.html
Original file line number Diff line number Diff line change
Expand Up @@ -330,10 +330,10 @@ <h4><a class="toc-backref" href="#id12" role="doc-backlink">Rocky Linux</a><a cl
<p>Setting up Rocky Linux (or any other Enterprise Linux distribution) should be straight forward. We’ll download both Rocky Linux 8 and Rocky Linux 9 and setup the menus.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>Using upstream mirror path</p>
<p>If you plan on not hosting a mirror of the base repositories, ensure that your inst.repo/inst.stage2 commands are accurate to a mirror of your choice.</p>
</div>
<pre><code class="language-none">% cd /var/tmp
<p>The below assumes we are hosting a mirror of the downloaded ISO, which will make installations quicker as it’ll be confined to your network.</p>
<pre><code class="language-shell">% cd /var/tmp
# Rocky Linux 8
% wget https://dl.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8-latest-x86_64-dvd.iso
# Rocky Linux 9
Expand All @@ -342,7 +342,23 @@ <h4><a class="toc-backref" href="#id12" role="doc-backlink">Rocky Linux</a><a cl
# Optionally, if you plan on supporting ARM...
% wget https://dl.rockylinux.org/pub/rocky/8/isos/aarch64/Rocky-8-latest-aarch64-dvd.iso
% wget https://dl.rockylinux.org/pub/rocky/9/isos/aarch64/Rocky-9-latest-aarch64-dvd.iso</code></pre><p>Here we’ll copy the data we want into the necessary directories. Any pxeboot related images will go to <cite>/var/lib/tftpboot/rocky-X-ARCH</cite> (X being the major version, ARCH being the architecture). If we are keeping a local mirror of the DVD, we’ll put it into <cite>/var/www/html/os/rocky/X/ARCH</cite>. Below is for x86_64, but the same steps can be repeated for aarch64 without any issues. Just replace x86_64 with aarch64.</p>
<p>At this point, we’ll need to setup the grub menus. We’ll setup non-kickstart examples for BIOS and UEFI.</p>
<pre><code class="language-shell">## Rocky 8
% mount -o loop Rocky-8-latest-x86_64-dvd.iso /mnt
% mkdir /var/lib/tftpboot/rocky-8-x86_64
% cp /mnt/images/pxeboot/* /var/lib/tftpboot/rocky-8-x86_64
% mkdir -p /var/www/html/os/rocky/8/x86_64
% rsync -vrlptDSH --delete /mnt/ /var/www/html/os/rocky/8/x86_64
% umount /mnt

## Rocky 9
% mount -o loop Rocky-9-latest-x86_64-dvd.iso /mnt
% mkdir /var/lib/tftpboot/rocky-9-x86_64
% cp /mnt/images/pxeboot/* /var/lib/tftpboot/rocky-9-x86_64
% mkdir -p /var/www/html/os/rocky/9/x86_64
% rsync -vrlptDSH --delete /mnt/ /var/www/html/os/rocky/9/x86_64
% umount /mnt

% restorecon -R /var/www/html/os/rocky</code></pre><p>At this point, we’ll need to setup the grub menus. We’ll setup non-kickstart examples for BIOS and UEFI.</p>
<pre><code class="language-none">. . .
# Rocky 8
menuentry 'Install Rocky Linux 8 (No KS) (UEFI)' --class fedora --class gnu-linux --class gnu --class os {
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit d71a1b6

Please sign in to comment.