mirror of
				https://github.com/TommyTran732/Fedora-CoreOS-Ignition.git
				synced 2025-11-04 11:08:35 +01:00 
			
		
		
		
	Full removal of systemd-resolved
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
		@@ -16,6 +16,5 @@
 | 
			
		||||
                "--host-uds=open"
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "dns" : [ "192.168.1.1" ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@@ -46,9 +46,11 @@ systemd:
 | 
			
		||||
        ExecStart=/usr/sbin/setsebool -P container_use_cephfs off
 | 
			
		||||
        ExecStart=/usr/sbin/setsebool -P virt_use_nfs off
 | 
			
		||||
        ExecStart=/usr/sbin/setsebool -P virt_use_samba off
 | 
			
		||||
        ExecStart=/usr/bin/rpm-ostree override remove containerd docker-cli dnsmasq google-compute-engine-guest-configs-udev iptables-legacy iptables-legacy-libs moby-engine runc
 | 
			
		||||
        ExecStart=/usr/bin/rpm-ostree override remove containerd docker-cli dnsmasq google-compute-engine-guest-configs-udev iptables-legacy iptables-legacy-libs moby-engine runc systemd-resolved
 | 
			
		||||
        ExecStart=/usr/bin/rpm-ostree install docker-ce docker-compose-plugin hardened_malloc qemu-guest-agent tuned
 | 
			
		||||
        ExecStart=/usr/bin/sed -i 's/\s+nullok//g' /etc/pam.d/system-auth
 | 
			
		||||
        ExecStart=/usr/bin/systemctl disable systemd-resolved
 | 
			
		||||
        ExecStart=/usr/bin/rm /etc/resolv.conf
 | 
			
		||||
        ExecStart=/usr/bin/touch /var/lib/%N.stamp
 | 
			
		||||
        ExecStart=/usr/bin/echo 'libhardened_malloc.so' > /etc/ld.so.preload
 | 
			
		||||
        ExecStart=/usr/bin/systemctl --no-block reboot
 | 
			
		||||
 
 | 
			
		||||
@@ -50,6 +50,7 @@ systemd:
 | 
			
		||||
        ExecStart=/usr/bin/rpm-ostree install docker-ce docker-compose-plugin firewalld hardened_malloc qemu-guest-agent tuned unbound
 | 
			
		||||
        ExecStart=/usr/bin/sed -i 's/\s+nullok//g' /etc/pam.d/system-auth
 | 
			
		||||
        ExecStart=/usr/bin/systemctl disable systemd-resolved
 | 
			
		||||
        ExecStart=/usr/bin/rm /etc/resolv.conf
 | 
			
		||||
        ExecStart=/usr/bin/touch /var/lib/%N.stamp
 | 
			
		||||
        ExecStart=/usr/bin/systemctl --no-block reboot
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user