diff options
author | Jan Safranek <jsafrane@redhat.com> | 2013-10-09 14:50:28 +0200 |
---|---|---|
committer | Jan Safranek <jsafrane@redhat.com> | 2013-10-09 14:50:28 +0200 |
commit | 97f7d0cd33684ed88ea2ff80c578dbc8009f5000 (patch) | |
tree | b9b7c9d5baf45ea5796ce19a599352917bfbd12c /src/openlmi.c | |
parent | d75505f629e290ae9feb647017e349a027921c41 (diff) | |
download | openlmi-providers-97f7d0cd33684ed88ea2ff80c578dbc8009f5000.tar.gz openlmi-providers-97f7d0cd33684ed88ea2ff80c578dbc8009f5000.tar.xz openlmi-providers-97f7d0cd33684ed88ea2ff80c578dbc8009f5000.zip |
Use PG_ComputerSystem by default.
And get rid of sblim-cmpi-base dependency.
It would be nice if our tests have an option to select Linux_ComputerSystem
or PG_ComputerSystem in the future...
Diffstat (limited to 'src/openlmi.c')
-rw-r--r-- | src/openlmi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/openlmi.c b/src/openlmi.c index b991f6a..de21d3c 100644 --- a/src/openlmi.c +++ b/src/openlmi.c @@ -52,7 +52,7 @@ static bool _log_stderr = false; static ConfigEntry _toplevel_config_defaults[] = { { "CIM", "Namespace", "root/cimv2" }, - { "CIM", "SystemClassName", "Linux_ComputerSystem" }, + { "CIM", "SystemClassName", "PG_ComputerSystem" }, { "LOG", "Level", "ERROR" }, { "LOG", "Stderr" , "false" } }; @@ -120,13 +120,13 @@ const char *lmi_get_system_creation_class_name() if (_system_creation_class_name == NULL) { if (_masterKeyFile == NULL) { lmi_error("Configuration was not read, using default option"); - return "Linux_ComputerSystem"; + return "PG_ComputerSystem"; } _system_creation_class_name = lmi_read_config("CIM", "SystemClassName"); if (_system_creation_class_name == NULL) { // This shouldn't happen, SystemClassName should be at least // in default config keys - return "Linux_ComputerSystem"; + return "PG_ComputerSystem"; } } return _system_creation_class_name; |