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

Allow to override remote user in machine init #15402

Closed
arixmkii opened this issue Aug 22, 2022 · 0 comments · Fixed by #15411
Closed

Allow to override remote user in machine init #15402

arixmkii opened this issue Aug 22, 2022 · 0 comments · Fixed by #15411
Labels
kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. macos MacOS (OSX) related

Comments

@arixmkii
Copy link
Contributor

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind feature

Description

It is allowed to provide custom image during init https://github.com/containers/podman/blob/main/cmd/podman/machine/init.go#L92 and it is supported, but there is no way to provide remote user in the same time and one will need to edit config manually afterwards. Introducing this parameter will grant more options for custom images.

This will become valuable, when multiple providers are supported for a single target (Qemu + vfkit for Apple Macs or Qemu + WSL + Hyper-V for Windows hosts). Discovered during experiment with #13006

Steps to reproduce the issue:

  1. run podman machine init

Describe the results you received:

No way to change remote user during the init command.

Describe the results you expected:

--remote-user myuser would be supported. Name of the key could be different to match all the scenarios better.

Additional information you deem important (e.g. issue happens only occasionally):

Output of podman version:

Client:       Podman Engine
Version:      4.2.0
API Version:  4.2.0
Go Version:   go1.18.5
Built:        Wed Aug 10 23:46:05 2022
OS/Arch:      darwin/arm64

Server:       Podman Engine
Version:      4.1.1
API Version:  4.1.1
Go Version:   go1.18.4
Built:        Fri Jul 22 22:06:49 2022
OS/Arch:      linux/arm64

Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)

Yes (built from source)

Additional environment details (AWS, VirtualBox, physical, etc.):

Podman machine on Mac and Windows hosts.

@openshift-ci openshift-ci bot added the kind/feature Categorizes issue or PR as related to a new feature. label Aug 22, 2022
@github-actions github-actions bot added the macos MacOS (OSX) related label Aug 22, 2022
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 17, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. macos MacOS (OSX) related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant