From fa20def47ab22f3141c2c7a996dbaf9f130e34f4 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 15 Feb 2023 18:00:48 -0500
Subject: linhes-dev: LinHES9_iso/build_iso.sh: disable systemd-networkd

---
 linhes/linhes-dev/LinHES9_iso/build_iso.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/linhes/linhes-dev/LinHES9_iso/build_iso.sh b/linhes/linhes-dev/LinHES9_iso/build_iso.sh
index 2db92cf..51aba98 100755
--- a/linhes/linhes-dev/LinHES9_iso/build_iso.sh
+++ b/linhes/linhes-dev/LinHES9_iso/build_iso.sh
@@ -128,7 +128,7 @@ nalogin () {
 rm -r ./arch_skel/airootfs/etc/systemd/system/getty@tty1.service.d
 }
 
-# Remove cloud-init, hyper-v, qemu-guest, vmtoolsd, sshd, & iwd services
+# Remove cloud-init, hyper-v, qemu-guest, vmtoolsd, sshd, systemd-networkd & iwd services
 rmunitsd () {
 rm ./arch_skel/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service
 rm ./arch_skel/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service
@@ -137,6 +137,10 @@ rm ./arch_skel/airootfs/etc/systemd/system/multi-user.target.wants/qemu-guest-ag
 rm ./arch_skel/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service
 rm ./arch_skel/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service
 rm ./arch_skel/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service
+rm ./arch_skel/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service
+rm ./arch_skel/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service
+rm ./arch_skel/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket
+rm ./arch_skel/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service
 rm ./arch_skel/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service
 rm -r ./arch_skel/airootfs/etc/systemd/system/cloud-init.target.wants
 }
-- 
cgit v0.12

