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 .
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 .