From 97f7d0cd33684ed88ea2ff80c578dbc8009f5000 Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Wed, 9 Oct 2013 14:50:28 +0200 Subject: 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... --- src/openlmi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/openlmi.c') 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; -- cgit