Merge pull request #3522 from Security-Onion-Solutions/fix/install-network-manager

[fix] CentOS ami does not include NetworkManager, so install it
This commit is contained in:
William Wernert
2021-03-18 09:10:41 -04:00
committed by GitHub

View File

@@ -1006,6 +1006,9 @@ installer_prereq_packages() {
if ! yum versionlock > /dev/null 2>&1; then
yum -y install yum-plugin-versionlock >> "$setup_log" 2>&1
fi
if ! command -v nmcli > /dev/null 2>&1; then
yum -y install NetworkManager >> "$setup_log" 2>&1
fi
fi
logCmd "systemctl enable NetworkManager"
logCmd "systemctl start NetworkManager"