From d223c91c893f10b22343d4d97e170660140a0d1d Mon Sep 17 00:00:00 2001 From: Tommy Date: Thu, 16 May 2024 12:53:02 -0700 Subject: [PATCH] Fix Networking Signed-off-by: Tommy --- fedora-minimal/sys-net.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/fedora-minimal/sys-net.sh b/fedora-minimal/sys-net.sh index 17d5628..7d20b2e 100644 --- a/fedora-minimal/sys-net.sh +++ b/fedora-minimal/sys-net.sh @@ -32,11 +32,9 @@ curl --proxy http://127.0.0.1:8082 https://raw.githubusercontent.com/TommyTran73 # Networking curl --proxy http://127.0.0.1:8082 https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/NetworkManager/conf.d/00-macrandomize.conf | tee /etc/NetworkManager/conf.d/00-macrandomize.conf curl --proxy http://127.0.0.1:8082 https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/NetworkManager/conf.d/01-transient-hostname.conf | tee /etc/NetworkManager/conf.d/01-transient-hostname.conf -sudo nmcli general reload conf sudo hostnamectl hostname 'localhost' sudo hostnamectl --transient hostname '' -sudo mkdir -p /etc/systemd/system/NetworkManager.service.d -curl --proxy http://127.0.0.1:8082 https://gitlab.com/divested/brace/-/raw/master/brace/usr/lib/systemd/system/NetworkManager.service.d/99-brace.conf | tee /etc/systemd/system/NetworkManager.service.d/99-brace.conf -sudo systemctl daemon-reload -sudo systemctl restart NetworkManager +# This breaks saving network settings with the Fedora 40 template rn, so I am commenting it out. +#sudo mkdir -p /etc/systemd/system/NetworkManager.service.d +#curl --proxy http://127.0.0.1:8082 https://gitlab.com/divested/brace/-/raw/master/brace/usr/lib/systemd/system/NetworkManager.service.d/99-brace.conf | tee /etc/systemd/system/NetworkManager.service.d/99-brace.conf