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

Remove ssh key name requirement from testing. #135

Merged
merged 2 commits into from
Mar 12, 2018
Merged

Conversation

smarlowucf
Copy link
Collaborator

@smarlowucf smarlowucf commented Mar 8, 2018

IPA will add public key to EC2 instance based on private key file using cloud init script.

Private key file will be provided as a configuration item in MASH config file.

IPA will add public key to EC2 instance based on private key file
using cloud init script.
@schaefi
Copy link
Collaborator

schaefi commented Mar 11, 2018

As discussed by mail this looks good to me. There is just a conflict caused by the merge of the simplification patch for the testing service you provided too. Feel free to merge once conflict got resolved

@smarlowucf smarlowucf merged commit a0d6616 into master Mar 12, 2018
@smarlowucf smarlowucf deleted the testing-ec2-keys branch March 12, 2018 18:02
@@ -16,3 +16,5 @@ credentials:
credentials_directory: /var/lib/mash/credentials/
obs:
download_directory: /var/tmp/mash/images
testing:
ssh_private_key_file: /etc/mash/testing_key
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do not want to write the private key to disk if it can be avoided and for mash, since it is generated, based on the discussions this week, it should live in /var/lib/mash/keys/ssh

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The idea is that this is a setting and not something that needs to be auto generated. In setting up a MASH pipeline we setup a ssh private/public key pair and point to the file location. /var/lib/mash/keys/ssh/testing_key could be default but it's nice to give the user options.

This can be discussed in #164 .

@smarlowucf smarlowucf changed the title Remove ssh key name requirement from testing. Use Temporary SSH key pairs in testing service Mar 30, 2018
@smarlowucf smarlowucf changed the title Use Temporary SSH key pairs in testing service Remove ssh key name requirement from testing. Mar 30, 2018
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.

3 participants