diff -ur yum-2.4.0/yum/config.py yum-2.4.0-pluginpath/yum/config.py
--- yum-2.4.0/yum/config.py	2005-07-02 00:40:34.000000000 +0400
+++ yum-2.4.0-pluginpath/yum/config.py	2005-09-07 18:00:34.137471303 +0400
@@ -218,7 +218,7 @@
                          ('proxy', None),
                          ('proxy_username', None),
                          ('proxy_password', None),
-                         ('pluginpath', ['/usr/lib/yum-plugins']),
+                         ('pluginpath', ['/usr/share/vzyum/plugins']),
                          ('installonlypkgs', ['kernel', 'kernel-bigmem', 
                                               'kernel-enterprise','kernel-smp',
                                               'kernel-modules',
diff -ur yum-2.4.0/yum/plugins.py yum-2.4.0-pluginpath/yum/plugins.py
--- yum-2.4.0/yum/plugins.py	2005-07-17 06:09:16.000000000 +0400
+++ yum-2.4.0-pluginpath/yum/plugins.py	2005-09-07 17:59:59.790301527 +0400
@@ -235,7 +235,7 @@
         instance representing it. Returns None if there was an error reading or
         parsing the configuration file.
         '''
-        conffilename = os.path.join('/etc/yum/pluginconf.d', modname+'.conf')
+        conffilename = os.path.join('/usr/share/vzyum/etc/pluginconf.d', modname+'.conf')
 
         parser = config.CFParser()
         try:
