Set bash as default shell

Default shell in manila service image does not allow to use history of
executed commands and lots of special actions, such as "home", "end", etc...
So, set 'bash' as default shell for manila service image to make life
of its users much better.

Change-Id: I35ae2e93cb7f81e6cb1a87a4d26a315785e6b078
Closes-Bug: #1535800
This commit is contained in:
vponomaryov 2016-01-19 18:24:22 +02:00
parent 572cef52e2
commit 004a4a1c4c
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#!/bin/bash
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
set -x
fi
set -eu
set -o pipefail
# Set 'bash' as default shell for 'manila' user.
sudo chsh -s /bin/bash manila