diff --git a/README.md b/README.md index d3fe521..3484ea0 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ # Configuring Sandbox Hostname Resolution Various parts of this repo assume that there are (up to) 10 running -sandboxes whose names are 'docksand1` through `docksand10`. For this to +sandboxes whose names are `docksand1` through `docksand10`. For this to work, you have to configure name resolution to properly associate these names with their equivant IP addresses. diff --git a/dockerfiles/ds-debian/ds-debian.dockerfile b/dockerfiles/ds-debian/ds-debian.dockerfile index 6fa5101..f2c9179 100644 --- a/dockerfiles/ds-debian/ds-debian.dockerfile +++ b/dockerfiles/ds-debian/ds-debian.dockerfile @@ -6,15 +6,19 @@ # Update OS and install software RUN apt-get -y update +RUN apt-get -y install apt-utils RUN apt-get -y dist-upgrade RUN apt-get -y upgrade -RUN apt-get -y install apt-utils RUN apt-get -y install bzip2 curl dnsutils dos2unix emacs-nox ethtool git \ htop joe less lsof netcat net-tools nfs-common \ nload openssh-server psmisc python-pip rsync screen \ socat sudo silversearcher-ag tree unzip vim whois \ wget zip +# Add sandboxes to hosts file + +RUN cat common/etc/dockersand.hosts >> /etc/hosts + # Enable sshd with same keys each time ADD common/keys/ /etc/ssh/ RUN mkdir /var/run/sshd