fix other OS installs

This commit is contained in:
Mike Reeves
2023-07-18 11:58:49 -04:00
parent 5e46138961
commit f95757c551

View File

@@ -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