There's a Vagrantfile that does this already https://github.com/opdemand/deis/blob/master/contrib/vagrant/chef-server/Vagrantfile