Refactoring autotest according addition release centos ubuntu

Add release ubuntu