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

Sanitize default names, limit to 63 chars #25

Merged

Conversation

hartmantis
Copy link
Contributor

I discovered today that CentOS 7 apparently shipped with this bug. Creating a CentOS 7 server in DigitalOcean with a name > 63 characters results in a server with broken SSH access (port 22 not even open).

This change ports over all the changes that were made to kitchen-openstack to get around naming issues. Limits names to <= 63 characters and strips out potentially-problematic punctuation.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 102a80b on RoboticCheese:roboticcheese/limit-hostnames-to-63-chars into 3b1d6dc on test-kitchen:master.

ghost pushed a commit that referenced this pull request Aug 26, 2014
…es-to-63-chars

Sanitize default names, limit to 63 chars
@ghost ghost merged commit 98d30b8 into test-kitchen:master Aug 26, 2014
@ghost
Copy link

ghost commented Aug 26, 2014

Thanks, you rock!

@hartmantis hartmantis deleted the roboticcheese/limit-hostnames-to-63-chars branch August 26, 2014 17:28
This pull request was closed.
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.

2 participants