diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-06-20 21:09:20 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-06-20 21:09:20 -0300 |
commit | 654e6ab3e7a0fd06e3695447b1988a24785b5a09 (patch) | |
tree | 91f844b35e30fd987c0d0407af13497925e84ae8 /files/vserver | |
parent | b9f9616f43fa277291916e5bc4e2ef2597138a4f (diff) | |
download | puppet-virtual-654e6ab3e7a0fd06e3695447b1988a24785b5a09.tar.gz puppet-virtual-654e6ab3e7a0fd06e3695447b1988a24785b5a09.tar.bz2 |
Setting up a blank /etc/hosts at build_vserver
Diffstat (limited to 'files/vserver')
-rw-r--r-- | files/vserver/build_vserver | 5 |
1 files 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/ |