CentOS box fixes

fix several issues with the CentOS box and make it more reliable.