In bug https://bugzilla.redhat.com/show_bug.cgi?id=1252255 is about adding a 
possibility to have an .ssh directory that is not in ~/.ssh
Currently the blocker there is os-cloud-config, that just calls ssh, and ssh 
will look in the users homedirectory for .ssh/config no matter what. 

To solve this we would need a way to add support for custom .ssh configs in 
os-cloud-config, specifically to the _perform_pki_initialization() method, so 
that you can specify a ssh config file, which otherwise will default to 
~/.ssh/con fig. 

Either we can always use ~/.ssh/config, but perform the user expansion in the 
Python code. That way it will pick up $HOME, and that means you can just set 
$HOME first. (There is a patch linked from the bug for python-tripleoclient to 
allow that).

Or we can pass in the path to the config file as a new paremeter. 

In both cases the change is quite trivial.

Thoughts/opinions on this?

//Lennart

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to