Remove 'quit' and 'yes' option from yum command.