One can change root shell to bash shell using the following method: vi /etc/passwd
Find user name and the default shell such as /bin/ash: root:x:0:0:root:/root:/bin/ash
Replace it with /bin/bash: root:x:0:0:root:/root:/bin/bash
Assumes you have bash installed on the VM - see install-bash.sh