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:
parent
572cef52e2
commit
004a4a1c4c
|
@ -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
|
Loading…
Reference in New Issue