fedorize_image: install /etc/sysconfig/network and resolv.conf files

This commit is contained in:
Joanna Rutkowska 2010-06-20 22:16:30 +02:00
parent 8f393fcb3b
commit 70a24f5713
3 changed files with 5 additions and 0 deletions

1
clean_images/network Normal file
View File

@ -0,0 +1 @@
NETWORKING=yes

1
clean_images/resolv.conf Normal file
View File

@ -0,0 +1 @@
# This file intentionally left blank

View File

@ -34,6 +34,9 @@ else
rpm -i --root=$INSTALLDIR base_rpms/filesystem-*.rpm rpm -i --root=$INSTALLDIR base_rpms/filesystem-*.rpm
rpm -i --root=$INSTALLDIR base_rpms/fedora-release-*.rpm rpm -i --root=$INSTALLDIR base_rpms/fedora-release-*.rpm
cp clean_images/network $INSTALLDIR/etc/sysconfig
cp clean_images/resolv.conf $INSTALLDIR/etc
fi fi
PKGGROUPS=$(cat $PKGLISTFILE) PKGGROUPS=$(cat $PKGLISTFILE)