From d9cf80c994ffcfc4167b87de8beb41b15ae31a28 Mon Sep 17 00:00:00 2001 From: Tommy Date: Fri, 10 May 2024 02:27:22 -0700 Subject: [PATCH] Remove unnecessary config Signed-off-by: Tommy --- fedora/fedora-gnome.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/fedora/fedora-gnome.sh b/fedora/fedora-gnome.sh index dc22090..0eefa7c 100644 --- a/fedora/fedora-gnome.sh +++ b/fedora/fedora-gnome.sh @@ -135,14 +135,7 @@ unpriv curl --proxy http://127.0.0.1:8082 https://raw.githubusercontent.com/dive #echo 'libhardened_malloc.so' | sudo tee /etc/ld.so.preload # Setup networking -unpriv curl --proxy http://127.0.0.1:8082 https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/NetworkManager/conf.d/00-macrandomize.conf | sudo tee /etc/NetworkManager/conf.d/00-macrandomize.conf -unpriv 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 | sudo tee /etc/NetworkManager/conf.d/01-transient-hostname.conf - -# Can't do nmcli reload here because NetworkManager is not running in a TemplateVM -# sudo nmcli general reload conf - -sudo hostnamectl hostname 'localhost' -sudo hostnamectl --transient hostname '' +# We don't need the usual mac address randomization and stuff here, because this template is not used for sys-net sudo mkdir -p /etc/systemd/system/NetworkManager.service.d unpriv 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 | sudo tee /etc/systemd/system/NetworkManager.service.d/99-brace.conf