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

set_ssh_key when reinitializing smart vm #55

Open
bourguig opened this issue Nov 6, 2018 · 2 comments
Open

set_ssh_key when reinitializing smart vm #55

bourguig opened this issue Nov 6, 2018 · 2 comments

Comments

@bourguig
Copy link

bourguig commented Nov 6, 2018

Hi,
I'm wondering if there is a way to set ssh key when reinitializing smart vm using set_ssh_key method on the vm object being reinitialized, by something like this: vm.set_ssh_key(string)
Thanks a lot for your thoughts ;)

@bourguig bourguig changed the title set_ssh_key on reinitializing smart vm set_ssh_key when reinitializing smart vm Nov 6, 2018
@arubalucalasagni
Copy link
Member

Hi,
When you create a smart vm you can set the ssh key, but currently this feature there isn't when reinitializing smart vm because it isn't yet supported.

@mz0
Copy link

mz0 commented Dec 18, 2018

... wondering if there is a way to set ssh key when reinitializing smart vm

I've worked around this issue with Ansible's authorized_key module like this:
https://github.com/mz0/ansible-do/blob/ca6e487/launch-A.yml#L54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants