commit cde583e3a2e2f79e0e4719a05a773b5a74a6bf92
Author: Colin Walters <walters(a)verbum.org>
Date: Fri Mar 20 14:07:02 2015 -0400
cloud-atomic: use dhcp=internal for NetworkManager
This uses systemd's DHCP library, and drops dhclient out of the
picture, which saves RAM.
fedora-cloud-atomic.ks | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/fedora-cloud-atomic.ks b/fedora-cloud-atomic.ks
index 984801d..b039c6c 100644
--- a/fedora-cloud-atomic.ks
+++ b/fedora-cloud-atomic.ks
@@ -48,6 +48,10 @@ passwd -l root
# remove the user anaconda forces us to make
userdel -r none
+# We can lead the way with the internal DHCP, see
+#
https://lists.fedoraproject.org/pipermail/cloud/2015-March/005119.html
+echo "dhcp=internal" >> /etc/NetworkManager/NetworkManager.conf
+
echo -n "Getty fixes"
# although we want console output going to the serial console, we don't
# actually have the opportunity to login there. FIX.