Repository navigation
metadata: add get_public_keys method for Oracle Cloud IMDSv2 service - #226
Conversation
|
Hello, thanks for the PR, LGTM. Can you please add the required bit to the https://github.com/cloudbase/cloudbase-init-test-resources/tree/master/oracle/metadata in a PR so that the Thanks. |
|
Sure, let me check what needs to be done there. Thank you |
|
I created cloudbase/cloudbase-init-test-resources#21 - hopefully that is all that's needed. |
ader1990
left a comment
There was a problem hiding this comment.
if you can please squash the two commits to retrigger the tests with the new test resources.
In order to use SetUserSSHPublicKeysPlugin with OCI, get_public_keys method needs to be added to Oracle Cloud IMDSv2 service. Signed-off-by: Jakub Kulik <jakub.kulik@oracle.com>
f7c7eb3 to
6b38904
Compare
|
Still the pip audit issue - should I also update the dependencies to later fixed versions or is that not a good idea in unrelated PR? |
All good with this PR, thanks! I will fix the audit issue in a subsequent PR. |
|
Thank you for the guidance and for the merge. |
|
Thanks for the contribution, much appreciated. |
In order to use
SetUserSSHPublicKeysPluginwith OCI,get_public_keysmethod needs to be added to Oracle Cloud IMDSv2 service.https://docs.oracle.com/en-us/iaas/Content/Compute/Tasks/gettingmetadata.htm#metadata-keys
Tested in OCI with custom images and all the different methods of adding public key/keys.