mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 10:12:53 +01:00
Initial RHEL support
This commit is contained in:
@@ -1969,6 +1969,7 @@ securityonion_repo() {
|
|||||||
info "Backing up the .repo files that were added by the redhat-release package."
|
info "Backing up the .repo files that were added by the redhat-release package."
|
||||||
logCmd "mv -bvf /etc/yum.repos.d/redhat* /root/oldrepos/"
|
logCmd "mv -bvf /etc/yum.repos.d/redhat* /root/oldrepos/"
|
||||||
logCmd "dnf repolist all"
|
logCmd "dnf repolist all"
|
||||||
|
fi
|
||||||
if [[ $waitforstate ]]; then
|
if [[ $waitforstate ]]; then
|
||||||
if [[ ! $is_airgap ]]; then
|
if [[ ! $is_airgap ]]; then
|
||||||
# Build the repo locally so we can use it
|
# Build the repo locally so we can use it
|
||||||
|
|||||||
Reference in New Issue
Block a user