10up/varying-vagrant-vagrants — pull request #152 by alexw23 (2013-09-13 22:32:22+00:00)
Title: /etc/hosts not correctly formed

Commit d9844611834e80395e0f3f9b600d3f3e113272dd seems to break domains - was it intended to loop per new line?

This worked for me:

DOMAINS='local.wordpress.dev
local.wordpress-trunk.dev
src.wordpress-develop.dev
build.wordpress-develop.dev'

if ! grep -q "$DOMAINS" /etc/hosts
then
DOMAINS=$(echo $DOMAINS)
echo "127.0.0.1 $DOMAINS" >> /etc/hosts
fi