Skip to content

Instantly share code, notes, and snippets.

@muhamad-ridwant-tech
Created June 3, 2025 05:49
Show Gist options
  • Save muhamad-ridwant-tech/c9fc81161ef1ba1ff9d4609a14d4e2f7 to your computer and use it in GitHub Desktop.
Save muhamad-ridwant-tech/c9fc81161ef1ba1ff9d4609a14d4e2f7 to your computer and use it in GitHub Desktop.
file repo via local files/directory
[Local_Ridwan_BaseOS]
name=Local_Ridwan_BaseOS
metadata_expire=-1
enabled=1
gpgcheck=1
baseurl=file:///var/www/html/rhel8/BaseOS/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[LocalRepo_AppStream]
name=Local_Ridwan_AppStream
metadata_expire=-1
enabled=1
gpgcheck=1
baseurl=file:///var/www/html/rhel8/AppStream
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
### for repo via local files
## baseurl=file:///
## Change the location of AppStream & BaseOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment