add is_desktop_grid var

This commit is contained in:
m0duspwnens
2023-08-29 13:10:06 -04:00
parent 0455063a39
commit a4dc482372
2 changed files with 3 additions and 1 deletions

View File

@@ -1883,7 +1883,7 @@ securityonion_repo() {
if [ -n "$(ls -A /etc/yum.repos.d/ 2>/dev/null)" ]; then
logCmd "mv -v /etc/yum.repos.d/* /root/oldrepos/"
fi
if [[ $is_desktop_iso ]]; then
if [[ ! $is_desktop_grid ]]; then
gpg_rpm_import
if [[ ! $is_airgap ]]; then
echo "https://repo.securityonion.net/file/so-repo/prod/2.4/oracle/9" > /etc/yum/mirror.txt

View File

@@ -58,6 +58,8 @@ whiptail_desktop_install() {
whiptail --title "$whiptail_title" \
--yesno "$message" 11 75 --defaultno
is_desktop_grid=$?
}
whiptail_desktop_nongrid_iso() {