Install NetworkManager on Ubuntu distributions (fixes #1052) (#1070)

Add the following args to the install script:

Syntax: sudo ./install.sh [-h|m|n|q]
  options:
  -h        Display this help message.
  -m        Install and configure NetworkManager (Ubuntu only).
  -n        Disable networking. This will also prevent installation of NetworkManager.
  -q        Silent install, automatically accepts all defaults. For non-interactive use.
This commit is contained in:
Craig Schardt
2024-01-06 08:45:56 -06:00
committed by GitHub
parent bf156f544e
commit b8a6a5d56a
2 changed files with 64 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ public class NetworkManager {
public void initialize(boolean shouldManage) {
isManaged = shouldManage && !networkingIsDisabled;
if (!isManaged) {
logger.info("Network management is disabled.");
return;
}