Having these Vagrantfiles sounds a lot simpler to me than dealing with ERB to dynamically generate them, but I haven't seen yet your implementation, so I can't really judge.