Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use full path when writing key_file in setup config #19

Closed
xtoddx opened this issue Sep 28, 2017 · 2 comments
Closed

Use full path when writing key_file in setup config #19

xtoddx opened this issue Sep 28, 2017 · 2 comments

Comments

@xtoddx
Copy link
Member

xtoddx commented Sep 28, 2017

I wanted my config and key files to live in the directory where I created my virtualenv, instead of in ~/.oci (so that I could experiment in a directory instead of writing more global state). When asked for my key directory I typed . for the current directory. Now when I run oci form a different directory I get configuration failures and my commands don't work, eg: IOError: [Errno 2] No such file or directory: './iad_key.pem'

It would be great for the setup process to always expand the full path of the key file when it writes the config setting.

@jodoglevy
Copy link
Contributor

Thanks, we're working on this for our next release

@mross22
Copy link
Member

mross22 commented Oct 13, 2017

This is fixed in our latest release: https://github.com/oracle/oci-cli/releases/tag/v2.4.10

@mross22 mross22 closed this as completed Oct 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants