[pve-devel] r6123 - pve-manager/pve2/bin

svn-commits at proxmox.com svn-commits at proxmox.com
Mon Jun 20 12:44:51 CEST 2011


Author: dietmar
Date: 2011-06-20 12:44:51 +0200 (Mon, 20 Jun 2011)
New Revision: 6123

Modified:
   pve-manager/pve2/bin/pvesetup
Log:
do not write /etc/hosts


Modified: pve-manager/pve2/bin/pvesetup
===================================================================
--- pve-manager/pve2/bin/pvesetup	2011-06-20 10:39:03 UTC (rev 6122)
+++ pve-manager/pve2/bin/pvesetup	2011-06-20 10:44:51 UTC (rev 6123)
@@ -1,10 +1,8 @@
 #!/usr/bin/perl -w
 
 use strict;
-use PVE::Config;
 use Getopt::Long;
 
-
 sub print_usage {
     my $msg = shift;
 
@@ -36,11 +34,6 @@
     }
 }
 
-eval { PVE::Config::update_etc_hosts(); };
-my $err = $@;
-
-print STDERR $err if $err;
-
 exit (0);
 
 




More information about the pve-devel mailing list