jonschipp / ISLET

Isolated, Scalable, & Lightweight Environment for Training
Other
111 stars 18 forks source link

Hide sudo: unable to resolve host argus #19

Closed jonschipp closed 10 years ago

jonschipp commented 10 years ago

Get rid of these message:

Enjoy yourself! Training materials are in /exercises

sudo: unable to resolve host argus demo@argus:~$ ls

jonschipp commented 10 years ago

Docker 1.3 got a new option: --add-host bro:127.0.0.1 Prior to 1.3 the loopback IP would be automatically set in the /etc/hosts file for the hostname of the container. This changed with 1.3 so now we should pass it manually.

Fixed in https://github.com/jonschipp/ISLET/commit/1645b6338c9039d0db19ab0ab9053975ec262de2