add centos base mode support