Ignore:
Timestamp:
Aug 3, 2012, 6:47:04 PM (12 years ago)
Author:
joergs
Message:

adapted for opsi4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • opsi/server/opsi-tools-dass-it/usr/bin/opsi-getDepots.py

    r1043 r1045  
    1313#from OPSI.UI import *
    1414
    15 bm = BackendManager(authRequired = False, configFile = '/etc/opsi/backendManager.d')
     15#bm = BackendManager(authRequired = False, configFile = '/etc/opsi/backendManager.d')
     16bm = BackendManager(
     17                                dispatchConfigFile = u'/etc/opsi/backendManager/dispatch.conf',
     18                                backendConfigDir   = u'/etc/opsi/backends',
     19                                extensionConfigDir = u'/etc/opsi/backendManager/extend.d',
     20                                depotBackend       = False,
     21                                hostControlBackend = True
     22                        )
    1623depotIds = bm.getDepotIds_list()
    1724for i in range(len(depotIds)):
Note: See TracChangeset for help on using the changeset viewer.