added a check for centos

adding in the spinner and wait state