FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Infrastructure

 
 
LinkBack Thread Tools
 
Old 03-24-2009, 11:27 PM
David Cantrell
 
Default 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
 

Thread Tools




All times are GMT. The time now is 09:44 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org