[pve-devel] r5544 - qemu-server/pve2

svn-commits at proxmox.com svn-commits at proxmox.com
Wed Feb 16 07:54:00 CET 2011


Author: dietmar
Date: 2011-02-16 07:54:00 +0100 (Wed, 16 Feb 2011)
New Revision: 5544

Modified:
   qemu-server/pve2/qm
Log:
call init_reqest instead of cfs_update


Modified: qemu-server/pve2/qm
===================================================================
--- qemu-server/pve2/qm	2011-02-16 06:52:17 UTC (rev 5543)
+++ qemu-server/pve2/qm	2011-02-16 06:54:00 UTC (rev 5544)
@@ -28,12 +28,11 @@
 die "please run as root\n" if $> != 0;
 
 PVE::INotify::inotify_init();
-PVE::Cluster::cfs_update();
 
 my $rpcenv = PVE::RPCEnvironment->init('cli');
 
+$rpcenv->init_request();
 $rpcenv->set_language($ENV{LANG});
-
 $rpcenv->set_user('root'); 
 
 my $nodename = PVE::INotify::nodename();



More information about the pve-devel mailing list