Refactoring configurable vagrant commands generation