separated centos and ubuntu envs, fixed some bugs and provisioning scripts