diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/software/lmi/software/core/InstallationService.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/software/lmi/software/core/InstallationService.py b/src/software/lmi/software/core/InstallationService.py index 290f1ed..1df368f 100644 --- a/src/software/lmi/software/core/InstallationService.py +++ b/src/software/lmi/software/core/InstallationService.py @@ -596,10 +596,12 @@ def check_path(env, service, prop_name): if not key in service: raise pywbem.CIMError(pywbem.CIM_ERR_NOT_FOUND, "\"%s\" is missing %s key property" % ( prop_name, key)) - if service[key] != our_service[key]: - raise pywbem.CIMError(pywbem.CIM_ERR_NOT_FOUND, - "\"%s\" key property %s(%s) does not match \"%s\"" %( - prop_name, key, service[key], our_service[key])) + if key == "SystemName": + continue + if not util.is_this_system(service["SystemName"]): + raise pywbem.CIMError(pywbem.CIM_ERR_NOT_FOUND, + "\"%s\" key property SystemName(%s) does not match \"%s\"" % ( + prop_name, service[key], our_service[key])) return True @cmpi_logging.trace_function |