pmcf 1.47.2 → 1.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/pmcf-host-defs +2 -2
- package/package.json +1 -1
- package/src/utils.mjs +1 -1
package/bin/pmcf-host-defs
CHANGED
|
@@ -37,8 +37,8 @@ async function generateMachineInfo(host, dir) {
|
|
|
37
37
|
}).map(([k, v]) => `${k}=${v}`)
|
|
38
38
|
);
|
|
39
39
|
|
|
40
|
-
await writeLines(etcDir, "machine-id",
|
|
41
|
-
await writeLines(etcDir, "hostname",
|
|
40
|
+
await writeLines(etcDir, "machine-id", host["machine-id"]);
|
|
41
|
+
await writeLines(etcDir, "hostname", host.hostName);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
async function generateNetworkDefs(host, dir) {
|
package/package.json
CHANGED
package/src/utils.mjs
CHANGED