)]}'
{"docker/nova/nova-ssh/extend_start.sh":[{"author":{"_account_id":7488,"name":"Jeffrey Zhang","email":"zhang.lei.fly@gmail.com","username":"Jeffrey4l"},"change_message_id":"c596837613aa9b37a467c68681c3f260bb352235","unresolved":false,"context_lines":[{"line_number":19,"context_line":"    chown nova: /var/lib/nova/.ssh"},{"line_number":20,"context_line":"fi"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"chsh -s /bin/bash nova"}],"source_content_type":"text/x-sh","patch_set":1,"id":"fa7ab95a_fee5a108","line":22,"updated":"2016-08-30 08:08:22.000000000","message":"could u add a check and change condition. like\n\nif nova\u0027s shell is not bash, then change it.","commit_id":"37cca1527f61b86a07958f6ea96bb1c9f7843f38"},{"author":{"_account_id":2834,"name":"Steven Dake","email":"steven.dake@gmail.com","username":"sdake"},"change_message_id":"80d0b763174ba5ddbc6611c328c77dd615b3e461","unresolved":false,"context_lines":[{"line_number":18,"context_line":"if [[ $(stat -c %U:%G /var/lib/nova/.ssh) !\u003d \"nova:nova\" ]]; then"},{"line_number":19,"context_line":"    chown nova: /var/lib/nova/.ssh"},{"line_number":20,"context_line":"fi"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"if [[ $(grep -c -E \"^nova:*.*nologin\" /etc/passwd) -eq \"1\" ]]; then"},{"line_number":23,"context_line":"    chsh -s /bin/bash nova"},{"line_number":24,"context_line":"fi"}],"source_content_type":"text/x-sh","patch_set":2,"id":"fa7ab95a_3f1fc00a","line":21,"updated":"2016-08-31 04:45:55.000000000","message":"I think you should be able to use the environment:\nhttps://github.com/openstack/kolla/blob/master/docker/base/Dockerfile.j2#L20\n\nWhy not just put the chsh in the dockerifle as a run operation?","commit_id":"11293cba9b641435994749e343397f2f1fd79670"}]}
