From 98cd96eeddd47f9bf68c9061dba4590c6339dbe0 Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Thu, 7 Nov 2019 10:18:40 -0500 Subject: [PATCH] change auto schedule to every 8 hours and update wording of whiptail auto patch selection - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/84 --- salt/patch/os/schedule.sls | 2 +- so-setup-network.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/patch/os/schedule.sls b/salt/patch/os/schedule.sls index 9ea98ede7..128862fa7 100644 --- a/salt/patch/os/schedule.sls +++ b/salt/patch/os/schedule.sls @@ -42,7 +42,7 @@ patch_os_schedule: - function: state.sls - job_args: - patch.os - - minutes: 1 + - hours: 8 - splay: {{splay}} - return_job: True diff --git a/so-setup-network.sh b/so-setup-network.sh index 32217a865..40ada00cc 100644 --- a/so-setup-network.sh +++ b/so-setup-network.sh @@ -1545,7 +1545,7 @@ whiptail_patch_schedule() { # What kind of patch schedule are we doing? PATCHSCHEDULE=$(whiptail --title "Security Onion Setup" --radiolist \ "Choose OS patch schedule. This will NOT update Security Onion related tools such as Zeek, Elasticsearch, Kibana, SaltStack, etc." 25 115 5 \ - "Automatic" "Package updates will be installed automatically" ON \ + "Automatic" "Package updates will be installed automatically every 8 hours if available" ON \ "Manual" "Package updates will need to be installed manually" OFF \ "Import Schedule" "Enter the name of an existing schedule on the following screen and inherit it" OFF \ "New Schedule" "Configure and name a new schedule on the following screen" OFF 3>&1 1>&2 2>&3 )