fix keystone config file path
fix if-statement bug in bash
fix apt-upgrade bug