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

ocne image upload cannot use ~/ prefix as config path #231

Open
pfmackin opened this issue Dec 20, 2024 · 0 comments
Open

ocne image upload cannot use ~/ prefix as config path #231

pfmackin opened this issue Dec 20, 2024 · 0 comments

Comments

@pfmackin
Copy link
Contributor

I tried the following command and it failed. The code should be able to handle a file prefix with ~/. There is a function to resolve such a path: github.com/oracle-cne/ocne/pkg/fileAbsDir()

cne image upload --type olvm --arch amd64 --file  /Users/pmackin/.ocne/images/boot.qcow2-1.30-amd64.olvm   --config ~./.ocne/olvm-demo-cluster-config.yaml --kubeconfig $KUBECONFIG
ERRO[2024-12-20T13:49:24-05:00] open ~./.ocne/olvm-demo-cluster-config.yaml: no such file or directory 

All commands that take a config file param should be able to take ~/ prefix.

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

1 participant