diff --git a/src/main/java/org/opensearch/security/tools/democonfig/Installer.java b/src/main/java/org/opensearch/security/tools/democonfig/Installer.java index 6f99023f02..6971298a2b 100644 --- a/src/main/java/org/opensearch/security/tools/democonfig/Installer.java +++ b/src/main/java/org/opensearch/security/tools/democonfig/Installer.java @@ -390,6 +390,7 @@ static void resetState() { initsecurity = false; cluster_mode = false; environment = ExecutionEnvironment.DEMO; + OS = System.getProperty("os.name") + " " + System.getProperty("os.version") + " " + System.getProperty("os.arch"); SCRIPT_DIR = null; BASE_DIR = null; OPENSEARCH_CONF_FILE = null;