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 user inject own public keyfile in preparecrowbar #257

Merged
merged 1 commit into from
Mar 10, 2015
Merged

allow user inject own public keyfile in preparecrowbar #257

merged 1 commit into from
Mar 10, 2015

Conversation

mimi1vx
Copy link
Contributor

@mimi1vx mimi1vx commented Mar 4, 2015

add ability to inject user own public key

@aspiers
Copy link
Contributor

aspiers commented Mar 4, 2015

Great idea to add this feature (in fact I was just wishing for exactly the same thing earlier today!) but I have to give -1 until two problems are addressed:

  1. Travis fails the bashate check due to trailing whitespace
  2. By adding yet another undocumented option, you are increasing technical debt. This should never happen! Please document the option properly. (See also document the options #256)

@mimi1vx
Copy link
Contributor Author

mimi1vx commented Mar 4, 2015

@aspiers better ? trailing whitespace removed + add small docu.

@aspiers
Copy link
Contributor

aspiers commented Mar 5, 2015

Yes that's better - thanks a lot! Although now I'm wondering why we need to append both $keyfile and $user_keyfile. As this PR currently stands, $user_keyfile is more useful because it lets you choose which file is appended, whereas $keyfile is hardcoded to ~/.ssh/id_dsa.pub (where ~ means /root since mkcloud needs to run as root). But it would also be easy to parametrize $keyfile. What do you think?

@mimi1vx
Copy link
Contributor Author

mimi1vx commented Mar 5, 2015

not good idea, roots public key is needed in all steps after setupadmin

@aspiers
Copy link
Contributor

aspiers commented Mar 5, 2015

Ah of course! In that case +1 from me.

@MaximilianMeister
Copy link
Contributor

👍

jsuchome added a commit that referenced this pull request Mar 10, 2015
allow user inject own public keyfile in preparecrowbar
@jsuchome jsuchome merged commit 80259c1 into SUSE-Cloud:master Mar 10, 2015
@mimi1vx mimi1vx deleted the keyfile branch March 10, 2015 07:53
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

Successfully merging this pull request may close these issues.

4 participants