diff options
author | David Cantrell <dcantrell@redhat.com> | 2009-03-24 14:13:18 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2009-03-24 15:11:22 -1000 |
commit | 60bb9f995797df65b1333560cf226118639cc3e9 (patch) | |
tree | c503cbd7332d8cb1bdcbd490755df15cb4328bb4 | |
parent | 85a531e65750e3b35995b4944f97d4455387018b (diff) | |
download | anaconda-60bb9f995797df65b1333560cf226118639cc3e9.tar.gz anaconda-60bb9f995797df65b1333560cf226118639cc3e9.tar.xz anaconda-60bb9f995797df65b1333560cf226118639cc3e9.zip |
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.
-rwxr-xr-x | scripts/mk-images | 1 | ||||
-rwxr-xr-x | scripts/upd-instroot | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/scripts/mk-images b/scripts/mk-images index db2fa9df0..e669a0b6c 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 8e86eae7f..8fab35324 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 |