From 654e6ab3e7a0fd06e3695447b1988a24785b5a09 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 20 Jun 2010 21:09:20 -0300 Subject: Setting up a blank /etc/hosts at build_vserver --- files/vserver/build_vserver | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/files/vserver/build_vserver b/files/vserver/build_vserver index a74ea5f..11d38ed 100644 --- a/files/vserver/build_vserver +++ b/files/vserver/build_vserver @@ -25,8 +25,9 @@ cp /etc/apt/{preferences,sources.list} $TARGET/etc/apt/ # this is needed so puppet can find the puppetmaster and creates the right # certificate -grep -v $NAME /etc/hosts > $TARGET/etc/hosts -echo "127.0.0.1 $NAME" >> $TARGET/etc/hosts +#grep -v $NAME /etc/hosts > $TARGET/etc/hosts +#echo "127.0.0.1 $NAME" >> $TARGET/etc/hosts +echo "127.0.0.1 $NAME" > $TARGET/etc/hosts #mkdir -p $TARGET/var/lib/puppet/modules/dbp #cp /var/lib/puppet/modules/dbp/puppet_current.deb $TARGET/var/lib/puppet/modules/dbp/ -- cgit v1.2.3