pmcf 1.57.0 → 1.57.1
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/package.json +1 -1
- package/src/host.mjs +4 -0
package/package.json
CHANGED
package/src/host.mjs
CHANGED
|
@@ -329,6 +329,10 @@ export class Host extends Base {
|
|
|
329
329
|
return readFile(join(this.directory, `ssh_host_${type}_key.pub`), "utf8");
|
|
330
330
|
}
|
|
331
331
|
|
|
332
|
+
get packageName() {
|
|
333
|
+
return `${this.constructor.typeDefinition.name}-${this.owner.name}-${this.name}`;
|
|
334
|
+
}
|
|
335
|
+
|
|
332
336
|
async preparePackage(stagingDir) {
|
|
333
337
|
const result = await super.preparePackage(stagingDir);
|
|
334
338
|
await generateNetworkDefs(this, stagingDir);
|