Start with a basic /etc/hosts file (#491634)
NetworkManager likes having an /etc/hosts file to start with on the
system. It doesn't want to "own" the file, only touch and poke at it.
---
scripts/mk-images | 1 +
scripts/upd-instroot | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/scripts/mk-images b/scripts/mk-images
index db2fa9d..e669a0b 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -596,6 +596,7 @@ makeinitrd() {
install -m 644 $IMGPATH/etc/passwd $MBD_DIR/etc/passwd
install -m 644 $IMGPATH/etc/group $MBD_DIR/etc/group
install -m 644 $IMGPATH/etc/nsswitch.conf $MBD_DIR/etc/nsswitch.conf
+ install -m 644 $IMGPATH/etc/hosts $MBD_DIR/etc/hosts
instbin $IMGPATH /usr/bin/mount $MBD_DIR /sbin/mount
for mountcmd in $IMGPATH/usr/sbin/mount.* ; do
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index 8e86eae..8fab353 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -321,6 +321,7 @@ etc/fonts
etc/group
etc/gtk-2.0/gtkrc*
etc/hal
+etc/hosts
etc/im_palette.pal
etc/imrc
etc/iscsid.conf
--
1.6.2
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list