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"
|
"type": "docker"
|
||||||
},
|
},
|
||||||
"deviceConnectionString": "${connectionString}",
|
"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()}",
|
"hostName": "${fqdn().toLowerCase()}",
|
||||||
"logLevel": "info",
|
"logLevel": "info",
|
||||||
"schemaVersion": "1",
|
"schemaVersion": "1",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче