AWS hosts get unpredictable names, and Valentino Volonghi's script got old,
so I updated it to generate local /etc/hosts
only.
pip install -r requirements.txt
sudo cp /etc/hosts /etc/hosts.default
And configure your aws
CLI
with aws configure
.
./gen_hosts.py
sudo cp etc_hosts /etc/hosts
Original code was published by Valentino without license, maybe someone can find it on AdRoll.com website. As for my contribution - it is public domain here.