Added -d 1 to yum commands to reduce output.