mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
fix other OS installs
This commit is contained in:
@@ -1054,10 +1054,10 @@ installer_prereq_packages() {
|
|||||||
retry 150 10 "apt-get -y install network-manager ethtool" >> "$setup_log" 2>&1 || fail_setup
|
retry 150 10 "apt-get -y install network-manager ethtool" >> "$setup_log" 2>&1 || fail_setup
|
||||||
if [[ $is_debian ]]; then
|
if [[ $is_debian ]]; then
|
||||||
info "Enabling network manager for the main interface"
|
info "Enabling network manager for the main interface"
|
||||||
logcmd "sed -i 's/managed=false/managed=true/g' /etc/NetworkManager/NetworkManager.conf"
|
logCmd "sed -i 's/managed=false/managed=true/g' /etc/NetworkManager/NetworkManager.conf"
|
||||||
fi
|
fi
|
||||||
logcmd systemctl enable NetworkManager
|
logCmd systemctl enable NetworkManager
|
||||||
logcmd systemctl start NetworkManager
|
logCmd systemctl start NetworkManager
|
||||||
fi
|
fi
|
||||||
if ! command -v curl > /dev/null 2>&1; then
|
if ! command -v curl > /dev/null 2>&1; then
|
||||||
retry 150 10 "apt-get -y install curl" >> "$setup_log" 2>&1 || fail_setup
|
retry 150 10 "apt-get -y install curl" >> "$setup_log" 2>&1 || fail_setup
|
||||||
|
|||||||
Reference in New Issue
Block a user