From 84eeb0ab97aae686fe56526ac993076bcdfbb495 Mon Sep 17 00:00:00 2001 From: Nicolas Ochem Date: Mon, 23 Oct 2023 12:59:30 -0700 Subject: [PATCH] add authorized_keys field to octez node --- utils/config-generator.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/config-generator.py b/utils/config-generator.py index 35f1c832c..4b9d3ab81 100755 --- a/utils/config-generator.py +++ b/utils/config-generator.py @@ -232,6 +232,9 @@ def fill_in_missing_accounts(): baker_values["bake_using_account"] = None baker_values["bake_using_accounts"] = accts + # add authorized_keys if any, so signing requests can be auth'd + accts = [ *accts, *baker_values.get["authorized_keys"] ] + for acct in accts: if acct not in ACCOUNTS: print(f"Creating account: {acct}")