replace vmbuilder internal function with yum command.