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