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

Spaces in the Mapping Params #109

Open
TheTomahawk opened this issue May 7, 2020 · 0 comments
Open

Spaces in the Mapping Params #109

TheTomahawk opened this issue May 7, 2020 · 0 comments

Comments

@TheTomahawk
Copy link

TheTomahawk commented May 7, 2020

It took me 45 minutes to work out why this wasn't working:
nodename.selector=tags/Name+'-'+instanceId; ssh-key-storage-path.selector='keys/'+keyName

It turns out that instead of the 2nd attribute being called "ssh-key-storage-path" it was called " ssh-key-storage-path" -- the space after the semi-colon was being added to the name of the attribute. So SSH was failing despite it looking like the value was set correctly.

Whilst this is probably a technically correct thing, maybe, I feel it would be better to strip off leading whitespace, and if someone really needs it (???) then have them escape it with a .

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

No branches or pull requests

1 participant