![]() Since I have VMs, I will automount the ISO to the VM. > genisoimage -U -r -v -J -joliet-long -allow-multidot -allow-lowercase -iso-level 4 -o /media/sf_vboxshare/rocky8.6. /repoĤ) Burn the ISO (as a file, not as an extracted image) to a Blu-ray, or copy to a USB drive and move it to the offline or air-gapped host. The syntax is: genisoimage cli options – location and name of ISO file to be created and files/folders to be included in the ISO. Use any path you like as long as its big enough. Note that in the command below, I write this ISO image to a VirtualBox shared folder mounted at /media/sf_vboxshare. > sudo /usr/bin/rsync -avrt –progress rsync:///rocky/8.6/Devel/x86_64/os/ /repo/Develģ) Use genisoimage to create an ISO of the whole set. > sudo /usr/bin/rsync -avrt –progress rsync:///rocky/8.6/extras/x86_64/os/ /repo/extras > sudo /usr/bin/rsync -avrt –progress rsync:///rocky/8.6/PowerTools/x86_64/os/ /repo/PowerTools > sudo /usr/bin/rsync -avrt –progress rsync:///rocky/8.6/AppStream/x86_64/os/ /repo/AppStream > sudo /usr/bin/rsync -avrt –progress rsync:///rocky/8.6/BaseOS/x86_64/os/ /repo/BaseOS Also make sure the filesystem you write the ISO to has enough space. You need a Blu-ray burner or USB drive to move the file to your air-gapped hosts. Note that these folders will create an approx 19 Gig ISO file in step 3. ![]() The full list can be found on a mirror site like this one I use: Ī) Create the folders locally and harvest the data from the mirror site using rsync. Updated packages are just placed in their regular repo and not separated. The “updates” repo is no longer used in 8x and has been removed. Most people only need BaseOS and AppStream. I require the repos below, but you may need packages installed from other repos so create those folders. You can specify any folder(s) you require. If not install them.Ģ) On your internet facing host, create folders for the repos and packages you need. As long as you have internet access, any rpm based Linux distro will do as long as it has rsync, genisoimage, and yum-utils.ġ) Make sure you have rsync, genisoimage and yum-utils installed. I used a Rocky Linux 8.6 VM running on Windows 11 and VirtualBox 6.1.36. On a host with internet access (Public facing host), perform the following steps. This post demonstrates how to patch a Rocky Linux 8.6 host when it doesn’t have internet access or is an isolated system with no access to a yum repo. So you’ve successfully switched from CentOS to Rocky Linux and your hosts are on an isolated network.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |