mirror of
https://pagure.io/fedora-kickstarts.git
synced 2026-01-23 16:36:04 +08:00
cloud-atomic: use dhcp=internal for NetworkManager
This uses systemd's DHCP library, and drops dhclient out of the picture, which saves RAM.
This commit is contained in:
@@ -48,6 +48,10 @@ passwd -l root
|
|||||||
# remove the user anaconda forces us to make
|
# remove the user anaconda forces us to make
|
||||||
userdel -r none
|
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"
|
echo -n "Getty fixes"
|
||||||
# although we want console output going to the serial console, we don't
|
# although we want console output going to the serial console, we don't
|
||||||
# actually have the opportunity to login there. FIX.
|
# actually have the opportunity to login there. FIX.
|
||||||
|
|||||||
Reference in New Issue
Block a user