From ce2f683ef7826b8aab22df9f6db0998d9eadaaed Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 10 Mar 2015 10:26:32 +1100 Subject: [PATCH] whois added to base image. --- image/base/Dockerfile | 2 +- samples/standalone.yml | 1 - samples/web_only.yml | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/image/base/Dockerfile b/image/base/Dockerfile index abd2b5f..5987f33 100644 --- a/image/base/Dockerfile +++ b/image/base/Dockerfile @@ -32,7 +32,7 @@ RUN echo "debconf debconf/frontend select Teletype" | debconf-set-selections &&\ postgresql-9.3 postgresql-client-9.3 \ postgresql-contrib-9.3 libpq-dev libreadline-dev \ nginx language-pack-en sudo cron anacron \ - psmisc rsyslog vim &&\ + psmisc rsyslog vim whois &&\ sed -i -e 's/start -q anacron/anacron -s/' /etc/cron.d/anacron &&\ sed -i.bak 's/$ModLoad imklog/#$ModLoad imklog/' /etc/rsyslog.conf &&\ dpkg-divert --local --rename --add /sbin/initctl &&\ diff --git a/samples/standalone.yml b/samples/standalone.yml index 90ad4a2..8d6cbe3 100644 --- a/samples/standalone.yml +++ b/samples/standalone.yml @@ -82,7 +82,6 @@ run: - exec: echo "Beginning of custom commands" ## If you want to configure password login for root, uncomment and change: - #- exec: apt-get -y install whois # for mkpasswd ## Use only one of the following lines: #- exec: /usr/sbin/usermod -p 'PASSWORD_HASH' root #- exec: /usr/sbin/usermod -p "$(mkpasswd -m sha-256 'RAW_PASSWORD')" root diff --git a/samples/web_only.yml b/samples/web_only.yml index f55c465..8c61c62 100644 --- a/samples/web_only.yml +++ b/samples/web_only.yml @@ -72,7 +72,6 @@ run: - exec: echo "Beginning of custom commands" ## If you want to configure password login for root, uncomment and change: - #- exec: apt-get -y install whois # for mkpasswd ## Use only one of the following lines: #- exec: /usr/sbin/usermod -p 'PASSWORD_HASH' root #- exec: /usr/sbin/usermod -p "$(mkpasswd -m sha-256 'RAW_PASSWORD')" root -- 2.25.1