Update default Edge home dir in generated config.json (#54)
This commit is contained in:
Родитель
7ea5e68fef
Коммит
41ff242c4e
|
@ -185,7 +185,7 @@ export class IoTEdgeExplorer extends BaseExplorer {
|
|||
"type": "docker"
|
||||
},
|
||||
"deviceConnectionString": "${connectionString}",
|
||||
"homeDir": "${path.join(os.homedir(), "azure_iot_edge").replace(/\\/g, "\\\\")}",
|
||||
"homeDir": "${path.join(os.platform() === "win32" ? process.env.PROGRAMDATA : "/var/lib/", "azure_iot_edge").replace(/\\/g, "\\\\")}",
|
||||
"hostName": "${fqdn().toLowerCase()}",
|
||||
"logLevel": "info",
|
||||
"schemaVersion": "1",
|
||||
|
|
Загрузка…
Ссылка в новой задаче