Merge pull request #10859 from Security-Onion-Solutions/ordesk

Ordesk
This commit is contained in:
Mike Reeves
2023-07-28 10:56:15 -04:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@@ -1899,7 +1899,7 @@ securityonion_repo() {
logCmd "mkdir -vp /root/oldrepos"
logCmd "mv -v /etc/yum.repos.d/* /root/oldrepos/"
if [[ $is_desktop_iso ]]; then
if [[ ! is_airgap ]]; then
if [[ ! $is_airgap ]]; then
echo "https://repo.securityonion.net/file/so-repo/prod/2.4/oracle/9" > /etc/yum/mirror.txt
echo "https://so-repo-east.s3.us-east-005.backblazeb2.com/prod/2.4/oracle/9" >> /etc/yum/mirror.txt
echo "[main]" > /etc/yum.repos.d/securityonion.repo

View File

@@ -341,7 +341,9 @@ if [[ $is_desktop ]]; then
securityonion_repo
info "Enabling graphical interface and setting it to load at boot"
systemctl set-default graphical.target
startx
echo "Desktop Install Complete!"
echo ""
echo "Please reboot to start graphical interface."
exit 0
else
# Abort!