Skip to content

Commit 504a8ce

Browse files
committed
fix: reinstate carrying forward public keys
1 parent a929721 commit 504a8ce

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

packages/deployment/main.js

+15
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,21 @@ show-config display the client connection parameters
497497
);
498498
});
499499

500+
// Install any pubkeys from a former instantiation.
501+
await guardFile(`${CONTROLLER_DIR}/pubkeys.stamp`, () =>
502+
needReMain([
503+
'ssh',
504+
'ag-pserver',
505+
'sudo',
506+
'-u',
507+
'ag-pserver',
508+
'/usr/src/app/ve3/bin/ag-pserver',
509+
'add-pubkeys',
510+
'-c',
511+
'http://localhost:8000/private/repl',
512+
]),
513+
);
514+
500515
let pserverFlags = '';
501516
const installFlags = [];
502517
const pub = `${networkName}.crt`;

0 commit comments

Comments
 (0)