Vagrant version
Vagrant 1.9.7
Host operating system
Darwin bogon 16.6.0 Darwin Kernel Version 16.6.0: Fri Apr 14 16:21:16 PDT 2017; root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64
Guest operating system
distributor ID: Ubuntu Description: Ubuntu 16.04.2 LTS Release: 16.04 Codename: xenial
Question
How to set environment variables and /etc/hosts through Vagrantfile?
In docker-composer, I can set environment and extra_hosts
In vagrant, how to do this?