/*********************************************************
- * Copyright (C) 2008-2020 VMware, Inc. All rights reserved.
+ * Copyright (C) 2008-2021 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
/*
* The state of the global conf module.
*/
-static gboolean gGlobalConfEnabled = FALSE;
+static gboolean gGlobalConfStarted = FALSE;
#endif
if (GlobalConfig_Start(&state->ctx)) {
g_info("%s: Successfully started global config module.",
__FUNCTION__);
- gGlobalConfEnabled = TRUE;
+ gGlobalConfStarted = TRUE;
}
#endif
#if defined(_WIN32)
gboolean globalConfLoaded = FALSE;
- if (gGlobalConfEnabled) {
+ if (gGlobalConfStarted) {
globalConfLoaded = GlobalConfig_LoadConfig(&state->globalConfig,
&state->globalConfigMtime);
if (globalConfLoaded) {
* is reloaded. Else, the config is loaded only if it's been modified
* since the last check.
*/
+ g_info("%s: globalconfig reloaded.\n", __FUNCTION__);
state->configMtime = 0;
}
}
#endif
if (!first && loaded) {
- g_debug("Config file reloaded.\n");
+ g_info("Config file reloaded.\n");
/*
* Inform plugins of config file update.
##########################################################
-# Copyright (C) 2010-2017,2020 VMware, Inc. All rights reserved.
+# Copyright (C) 2010-2017,2020-2021 VMware, Inc. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published
help.disk = "%1$s: Führt Verkleinerungen von Festplatten durch\nNutzung: %2$s %3$s <Unterbefehl> [Argumente]\n\nUnterbefehle:\n list: Auflisten der verfügbaren Speicherorte\n shrink <Speicherort>: Löschen und Verkleinern eines Dateisystems am angegebenen Speicherort\n shrinkonly: Verkleinern alle Festplatten\n wipe <Speicherort>: Löschen eines Dateisystems am angegebenen Speicherort\n"
-help.globalconf = "%1$s: Globale Konfigurationsdownloads aus GuestStore verwalten\nNutzung: %2$s %3$s <Unterbefehel>\n\nUnterbefehle nur für ESX-Gäste:\n enable: Globales Konfigurationsmodul aktivieren. (Tools-Dienst wird neu gestartet)\n disable: Globales Konfigurationsmodul deaktivieren (Tools-Dienst wird neu gestartet)\n refresh: Neuen Download der globalen Konfiguration aus dem GuestStore auslösen\n status: Status des globalen Konfigurationsmodul drucken\n"
+help.globalconf = "%1$s: Globale Konfigurationsdownloads aus GuestStore verwalten\nNutzung: %2$s %3$s <Unterbefehel>\n\nUnterbefehle nur für ESX-Gäste:\n enable: Globales Konfigurationsmodul aktivieren\n disable: Globales Konfigurationsmodul deaktivieren\n refresh: Neuen Download der globalen Konfiguration aus dem GuestStore auslösen\n status: Status des globalen Konfigurationsmodul drucken\n"
help.gueststore = "%1$s: Ressourceninhalt aus dem GuestStore abrufen\nNutzung: %2$s %3$s <Unterbefehl>\n\nUnterbefehle nur für ESX-Gäste:\n getcontent <Ressourcenpfad> <Ausgabedatei>: Ressourceninhalt aus dem GuestStore abrufen un in Ausgabedatei speichern.\n\n<Ressourcenpfad> startet mit / und stellt eine eindeutige Ressource im GuestStore dar. Wenn er mit / endet, wird standardmäßig die zugrunde liegende Ressource 'metadata.json' abgerufen.\n<Ausgabedatei> ist der Pfad zu einer Datei, in der der Ressourceninhalt gespeichert werden soll.\n"
##########################################################
-# Copyright (C) 2010-2017,2020 VMware, Inc. All rights reserved.
+# Copyright (C) 2010-2017,2020-2021 VMware, Inc. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published
help.disk = "%1$s: perform disk shrink operations\nUsage: %2$s %3$s <subcommand> [args]\n\nSubcommands:\n list: list available locations\n shrink <location>: wipes and shrinks a file system at the given location\n shrinkonly: shrinks all disks\n wipe <location>: wipes a file system at the given location\n"
-help.globalconf = "%1$s: Manage global configuration downloads from the GuestStore\nUsage: %2$s %3$s <subcommand>\n\nESX guests only subcommands:\n enable: Enable the global configuration module. (Tools service is restarted)\n disable: Disable the global configuration module (Tools service is restarted)\n refresh: Trigger a new download of the global configuration from the GuestStore\n status: Print the status of the global configuration module\n"
+help.globalconf = "%1$s: Manage global configuration downloads from the GuestStore\nUsage: %2$s %3$s <subcommand>\n\nESX guests only subcommands:\n enable: Enable the global configuration module\n disable: Disable the global configuration module\n refresh: Trigger a new download of the global configuration from the GuestStore\n status: Print the status of the global configuration module\n"
help.gueststore = "%1$s: get resource content from GuestStore\nUsage: %2$s %3$s <subcommand>\n\nESX guests only subcommands:\n getcontent <resource path> <output file>: get resource content from GuestStore and save to output file.\n\n<resource path> starts with / and represents a unique resource in GuestStore. If it ends with /, defaults to retrieve the underlying 'metadata.json' resource.\n<output file> is the path of a file to save resource content to.\n"
##########################################################
-# Copyright (C) 2010-2017,2020 VMware, Inc. All rights reserved.
+# Copyright (C) 2010-2017,2020-2021 VMware, Inc. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published
help.disk = "%1$s: realizar operaciones de reducción de disco\nUso: %2$s %3$s <subcomando> [argumentos]\n\nSubcomandos:\n list: enumera las ubicaciones disponibles\n shrink <ubicación>: borra y reduce un sistema de archivos en la ubicación en cuestión\n shrinkonly: reduce todos los discos\n wipe <ubicación>: borra un sistema de archivos en la ubicación en cuestión\n"
-help.globalconf = "%1$s: administrar las descargas de configuración global de GuestStore\nUso: %2$s %3$s <subcomando>\n\nSubcomandos solo de invitados de ESX:\n enable: habilita el módulo de configuración global. (se reinicia el servicio Tools)\n disable: deshabilita el módulo de configuración global (se reinicia el servicio Tools)\n refresh: activa una nueva descarga de la configuración global desde GuestStore\n status: imprime el estado del módulo de configuración global\n"
+help.globalconf = "%1$s: administrar las descargas de configuración global de GuestStore\nUso: %2$s %3$s <subcomando>\n\nSubcomandos solo de invitados de ESX:\n enable: habilita el módulo de configuración global\n disable: deshabilita el módulo de configuración global\n refresh: activa una nueva descarga de la configuración global desde GuestStore\n status: imprime el estado del módulo de configuración global\n"
help.gueststore = "%1$s: obtener contenido de recursos de GuestStore\nUso: %2$s %3$s <subcomando>\n\nSubcomandos solo de invitados de ESX:\n getcontent <ruta de acceso de recurso> <archivo de salida>: obtener contenido de recursos de GuestStore y guardar en el archivo de salida.\n\n<ruta de acceso de recurso> empieza con / y representa un recurso único en GuestStore. Si termina con /, el valor predeterminado es recuperar el recurso 'metadata.json' subyacente.\n<archivo de salida> es la ruta de acceso de un archivo en el que se guardará el contenido de los recursos.\n"
##########################################################
-# Copyright (C) 2010-2017,2020 VMware, Inc. All rights reserved.
+# Copyright (C) 2010-2017,2020-2021 VMware, Inc. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published
help.disk = "%1$s : effectue les opérations de réduction des disques\nSyntaxe : %2$s %3$s <sous-commande> [args]\n\nSous-commandes :\n list : liste des emplacements disponibles\n shrink <emplacement> : efface et réduit un système de fichiers à l'emplacement donné\n shrinkonly : réduit tous les disques\n wipe <emplacement> : efface un système de fichiers à l'emplacement donné\n"
-help.globalconf = "%1$s : gérez les téléchargements de la configuration globale depuis GuestStore\nUtilisation : %2$s %3$s <subcommand>\n\nSous-commandes des invités ESX uniquement :\n enable : activez le module de configuration globale. (Le service Tools est redémarré)\n disable : désactivez le module de configuration globale (le service Tools est redémarré)\n refresh : déclenchez un nouveau téléchargement de la configuration globale depuis GuestStore\n status : imprime l'état du module de configuration globale\n"
+help.globalconf = "%1$s : gérez les téléchargements de la configuration globale depuis GuestStore\nUtilisation : %2$s %3$s <subcommand>\n\nSous-commandes des invités ESX uniquement :\n enable : activez le module de configuration globale\n disable : désactivez le module de configuration globale\n refresh : déclenchez un nouveau téléchargement de la configuration globale depuis GuestStore\n status : imprime l'état du module de configuration globale\n"
help.gueststore = "%1$s : obtenez le contenu des ressources de GuestStore\nUtilisation : %2$s %3$s <subcommand>\n\nSous-commandes des invités ESX uniquement :\n getcontent <resource path> <output file> : obtenez le contenu des ressources de GuestStore et enregistrez-le dans le fichier de sortie.\n\n<resource path> commence par / et représente une ressource unique dans GuestStore. En cas de terminaison par /, utilise la valeur par défaut pour récupérer la ressource « metadata.json » sous-jacente.\n<output file> est le chemin d'accès d'un fichier dans lequel enregistrer le contenu des ressources.\n"
##########################################################
-# Copyright (C) 2010-2017,2020 VMware, Inc. All rights reserved.
+# Copyright (C) 2010-2017,2020-2021 VMware, Inc. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published
help.disk = "%1$s: eseguire le operazioni di compattazione\nUtilizzo: %2$s %3$s <comando secondario> [args]\n\nComandi secondari:\n elenco: elencare le posizioni disponibili\n compatta <posizione>: pulisce e compatta un sistema di file nella posizione data\n compatta solo: compatta tutti i dischi\n pulisci <posizione>: pulisce un sistema di file nella posizione data\n"
-help.globalconf = "%1$s: gestisce i download della configurazione globale da GuestStore\nUtilizzo: %2$s %3$s <comando secondario>\n\nSolo comandi secondari di guest ESX:\n enable: abilita il modulo di configurazione globale. (Il servizio Tools viene riavviato)\n disable: disabilita il modulo di configurazione globale (il servizio Tools viene riavviato)\n refresh: attiva un nuovo download della configurazione globale da GuestStore\n status: stampa lo stato del modulo di configurazione globale\n"
+help.globalconf = "%1$s: gestisce i download della configurazione globale da GuestStore\nUtilizzo: %2$s %3$s <comando secondario>\n\nSolo comandi secondari di guest ESX:\n enable: abilita il modulo di configurazione globale\n disable: disabilita il modulo di configurazione globale\n refresh: attiva un nuovo download della configurazione globale da GuestStore\n status: stampa lo stato del modulo di configurazione globale\n"
help.gueststore = "%1$s: ottiene il contenuto della risorsa da GuestStore\nUtilizzo: %2$s %3$s <comando secondario>\n\nSolo comandi secondari di guest ESX:\n getcontent <percorso risorsa> <file di output>: ottiene il contenuto della risorsa da GuestStore ed esegue il salvataggio nel file di output.\n\n<percorso risorsa> inizia con / e rappresenta una risorsa univoca in GuestStore. Se termina con /, per impostazione predefinita recupera la risorsa 'metadata.json' sottostante.\n<file di output> è il percorso di un file in cui salvare il contenuto della risorsa.\n"
##########################################################
-# Copyright (C) 2010-2017,2020 VMware, Inc. All rights reserved.
+# Copyright (C) 2010-2017,2020-2021 VMware, Inc. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published
help.disk = "%1$s: ディスク圧縮操作を実行\n使用方法: %2$s %3$s <サブコマンド> [引数]\n\nサブコマンド:\n list: 使用可能な場所を一覧表示\n shrink <場所>: 指定された場所のファイル システムをワイプおよび圧縮\n shrinkonly: すべてのディスクを圧縮\n wipe <場所>: 指定された場所のファイル システムをワイプ\n"
-help.globalconf = "%1$s: GuestStore からのグローバル設定のダウンロードを管理します\n使用方法: %2$s %3$s <サブコマンド>\n\nESX ゲストのみのサブコマンド:\n enable: グローバル設定モジュールを有効にします (VMware Tools Service が再起動します)\n disable: グローバル設定モジュールを無効にします (VMware Tools Service が再起動します)\n refresh: GuestStore からのグローバル設定の新しいダウンロードをトリガします\n status: グローバル設定モジュールのステータスを出力します\n"
+help.globalconf = "%1$s: GuestStore からのグローバル設定のダウンロードを管理します\n使用方法: %2$s %3$s <サブコマンド>\n\nESX ゲストのみのサブコマンド:\n enable: グローバル設定モジュールを有効にします\n disable: グローバル設定モジュールを無効にします\n refresh: GuestStore からのグローバル設定の新しいダウンロードをトリガします\n status: グローバル設定モジュールのステータスを出力します\n"
help.gueststore = "%1$s: GuestStore からリソース コンテンツを取得します\n使用方法: %2$s %3$s <サブコマンド>\n\nESX ゲストのみのサブコマンド:\n getcontent <リソース パス> <出力ファイル>: GuestStore からリソース コンテンツを取得し、出力ファイルに保存します。\n\n<リソース パス>は / で始まり、GuestStore 内の一意のリソースを表します。/ で終わる場合、デフォルトでは基盤となる「metadata.json」リソースを取得します。\n<出力ファイル> は、リソース コンテンツを保存するファイルのパスです。\n"
##########################################################
-# Copyright (C) 2010-2017,2020 VMware, Inc. All rights reserved.
+# Copyright (C) 2010-2017,2020-2021 VMware, Inc. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published
help.disk = "%1$s: 디스크 축소 작업을 수행합니다.\n사용법: %2$s %3$s <하위명령> [인수]\n\n하위 명령:\n list: 사용 가능한 위치를 나열합니다.\n shrink <위치>: 지정된 위치에서 파일 시스템을 지우고 축소합니다.\n shrinkonly: 모든 디스크를 축소합니다.\n wipe <위치>: 지정된 위치에서 파일 시스템을 지웁니다.\n"
-help.globalconf = "%1$s: GuestStore에서의 전역 구성 다운로드 관리\n사용법: %2$s %3$s <하위 명령>\n\nESX 게스트 전용 하위 명령:\n사용: 전역 구성 모듈을 사용하도록 설정합니다.(Tools 서비스가 다시 시작됨)\n 사용 안 함: 전역 구성 모듈을 사용하지 않도록 설정합니다.(Tools 서비스가 다시 시작됨)\n 새로 고침: GuestStore에서의 전역 구성 새 다운로드를 트리거합니다.\n 상태: 전역 구성 모듈의 상태를 인쇄합니다.\n"
+help.globalconf = "%1$s: GuestStore에서의 전역 구성 다운로드 관리\n사용법: %2$s %3$s <하위 명령>\n\nESX 게스트 전용 하위 명령:\n사용: 전역 구성 모듈을 사용하도록 설정합니다\n 사용 안 함: 전역 구성 모듈을 사용하지 않도록 설정합니다\n 새로 고침: GuestStore에서의 전역 구성 새 다운로드를 트리거합니다.\n 상태: 전역 구성 모듈의 상태를 인쇄합니다.\n"
help.gueststore = "%1$s: GuestStore에서 리소스 콘텐츠 가져오기\사용법: %2$s %3$s <하위 명령>\n\nESX 게스트 전용 하위 명령:\n <리소스 경로> <출력 파일> 콘텐츠 가져오기: GuestStore에서 리소스 콘텐츠를 가져온 후 출력 파일에 저장합니다.\n\n<리소스 경로>은(는) /로 시작하고 GuestStore의 고유한 리소스를 나타냅니다. /로 끝나는 경우 기본 'metadata. json' 리소스를 검색합니다.\n<파일 출력>은(는) 리소스 콘텐츠를 저장할 파일의 경로입니다.\n"
##########################################################
-# Copyright (C) 2010-2017,2020 VMware, Inc. All rights reserved.
+# Copyright (C) 2010-2017,2020-2021 VMware, Inc. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published
help.disk = "%1$s: 执行磁盘压缩操作\n用法: %2$s %3$s <子命令> [参数]\n\n子命令:\n list: 列出可用的位置\n shrink <位置>: 擦除并压缩指定位置的文件系统\n shrinkonly: 压缩所有磁盘\n wipe <位置>: 擦除指定位置的文件系统\n"
-help.globalconf = "%1$s: 管理从 GuestStore 下载的全局配置\n用法: %2$s %3$s <子命令>\n\n仅 ESX 客户机子命令:\n enable: 启用全局配置模块。(重新启动 Tools 服务)\n disable: 禁用全局配置模块 (重新启动 Tools 服务)\n refresh: 从 GuestStore 触发全局配置的新下载\n status: 打印全局配置模块的状态\n"
+help.globalconf = "%1$s: 管理从 GuestStore 下载的全局配置\n用法: %2$s %3$s <子命令>\n\n仅 ESX 客户机子命令:\n enable: 启用全局配置模块\n disable: 禁用全局配置模块\n refresh: 从 GuestStore 触发全局配置的新下载\n status: 打印全局配置模块的状态\n"
help.gueststore = "%1$s: 从 GuestStore 获取资源内容\n用法: %2$s %3$s <子命令>\n\n仅 ESX 客户机子命令:\n getcontent <资源路径> <输出文件>: 从 GuestStore 获取资源内容并保存到输出文件。\n\n<资源路径> 以“/”开头,并代表 GuestStore 中的唯一资源。如果以“/”结尾,则默认检索底层的“metadata.json”资源。\n<输出文件> 是将资源内容保存到的文件的路径。\n"
##########################################################
-# Copyright (C) 2010-2017,2020 VMware, Inc. All rights reserved.
+# Copyright (C) 2010-2017,2020-2021 VMware, Inc. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published
help.disk = "%1$s: 執行磁碟壓縮作業\n使用量: %2$s %3$s <subcommand> [args]\n\n子命令:\n list: 列出可用位置\n shrink <location>: 抹除和壓縮指定位置的檔案系統\n shrinkonly: 壓縮所有磁碟\n wipe <location>: 抹除指定位置的檔案系統\n"
-help.globalconf = "%1$s: 從 GuestStore 管理全域組態下載\n使用量: %2$s %3$s <子命令>\n\n僅 ESX 客體的子命令:\n enable: 啟用全域組態模組。(工具服務已重新啟動)\n disable: 停用全域組態模組 (工具服務已重新啟動)\n refresh: 從 GuestStore 觸發全域組態的新下載\n status: 列印全域組態模組的狀態\n"
+help.globalconf = "%1$s: 從 GuestStore 管理全域組態下載\n使用量: %2$s %3$s <子命令>\n\n僅 ESX 客體的子命令:\n enable: 啟用全域組態模組\n disable: 停用全域組態模組\n refresh: 從 GuestStore 觸發全域組態的新下載\n status: 列印全域組態模組的狀態\n"
help.gueststore = "%1$s: 從 GuestStore 取得資源內容\n使用量: %2$s %3$s <子命令>\n\n僅 ESX 客體的子命令:\n getcontent < 資源路徑 > < 輸出檔案 >: 從 GuestStore 取得資源內容並儲存至輸出檔案。\n\n<資源路徑> 開頭為 /,代表 GuestStore 中的唯一資源。如果結尾為 /,則預設為擷取基礎的「metadata json」資源。\n\n<輸出檔案> 是要儲存資源內容的目標檔案路徑。\n"