mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-09 10:42:54 +01:00
Fix gpg things
This commit is contained in:
@@ -683,7 +683,7 @@ configure_ntp() {
|
||||
if [[ $is_rocky || $is_centos ]]; then
|
||||
systemctl enable chronyd
|
||||
systemctl restart chronyd
|
||||
elif [ "$OS" == 'ubuntu' ]; then
|
||||
elif [[ $is_ubuntu ]]; then
|
||||
systemctl enable chrony
|
||||
systemctl restart chrony
|
||||
fi
|
||||
@@ -1022,7 +1022,7 @@ installer_prereq_packages() {
|
||||
# logCmd "systemctl start NetworkManager"
|
||||
# el
|
||||
|
||||
if [ "$OS" == ubuntu ]; then
|
||||
if [[ $is_ubuntu ]]; then
|
||||
# Print message to stdout so the user knows setup is doing something
|
||||
info "Running apt-get update"
|
||||
retry 150 10 "apt-get update" "" "Err:" >> "$setup_log" 2>&1 || fail_setup
|
||||
@@ -1832,7 +1832,7 @@ reinstall_init() {
|
||||
# Remove the old launcher package in case the config changes
|
||||
remove_package launcher-final
|
||||
|
||||
if [[ $OS == 'ubuntu' ]]; then
|
||||
if [[ $is_ubuntu ]]; then
|
||||
info "Unholding previously held packages."
|
||||
apt-mark unhold $(apt-mark showhold)
|
||||
fi
|
||||
@@ -2356,7 +2356,7 @@ so_add_user() {
|
||||
}
|
||||
|
||||
ubuntu_check() {
|
||||
if [[ $OS == "ubuntu" ]]; then
|
||||
if [[ $is_ubuntu ]]; then
|
||||
if [[ $waitforstate ]]; then
|
||||
whiptail_ubuntu_notsupported
|
||||
fail_setup
|
||||
|
||||
@@ -533,7 +533,7 @@ whiptail_install_type() {
|
||||
"OTHER" "Other install types" \
|
||||
3>&1 1>&2 2>&3
|
||||
)
|
||||
elif [[ $OS = 'ubuntu' ]]; then
|
||||
elif [[ $is_ubuntu ]]; then
|
||||
install_type=$(whiptail --title "$whiptail_title" --menu \
|
||||
"What kind of installation would you like to do?\n\nFor more information, please see:\n$DOC_BASE_URL/architecture.html" 18 65 5 \
|
||||
"DISTRIBUTED" "Distributed install submenu " \
|
||||
@@ -569,7 +569,7 @@ whiptail_install_type_dist() {
|
||||
"Existing Deployment " "Join to an existing Security Onion deployment " \
|
||||
3>&1 1>&2 2>&3
|
||||
)
|
||||
elif [[ $OS = 'ubuntu' ]]; then
|
||||
elif [[ $is_ubuntu ]]; then
|
||||
dist_option=$(whiptail --title "$whiptail_title" --menu "Since this is Ubuntu, this box can only be connected to \nan existing deployment." 11 75 2 \
|
||||
"Existing Deployment " "Join to an existing Security Onion deployment " \
|
||||
3>&1 1>&2 2>&3
|
||||
|
||||
Reference in New Issue
Block a user