summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnderson, Craig (ca846m) <craig.anderson@att.com>2018-09-22 18:14:09 -0700
committerAnderson, Craig (ca846m) <craig.anderson@att.com>2018-09-22 18:17:04 -0700
commit03732763516941c3e30108ce8cccff0a1390a212 (patch)
tree5603df3cfb4db07beb0c7bba0578932ff4445234
parent9c2686bea7e5cb4907c929913af7d7fee8136bcb (diff)
Add file package to sstream-cache image build
Deploying Genesis kernel with a matching kernel to what MaaS provisions to other nodes requires starting the container on Genesis and running the `file` command on the boot-kernel in order to determine the kernel version. This PS adds the `file` binary to the image. Change-Id: Idddcc25916ba5b8b015cdde9bfe773443f158273
Notes
Notes (review): Code-Review+2: Felipe Monteiro <felipe.monteiro@att.com> Code-Review+2: Scott Hussey <sthussey@att.com> Workflow+1: Scott Hussey <sthussey@att.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 25 Sep 2018 20:52:27 +0000 Reviewed-on: https://review.openstack.org/604571 Project: openstack/airship-maas Branch: refs/heads/master
-rw-r--r--images/sstream-cache/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/images/sstream-cache/Dockerfile b/images/sstream-cache/Dockerfile
index 2e0bdba..c12c244 100644
--- a/images/sstream-cache/Dockerfile
+++ b/images/sstream-cache/Dockerfile
@@ -9,7 +9,8 @@ RUN apt-get -qq update && \
9 apache2 \ 9 apache2 \
10 gpgv \ 10 gpgv \
11 ubuntu-cloudimage-keyring \ 11 ubuntu-cloudimage-keyring \
12 python-certifi --no-install-recommends 12 python-certifi --no-install-recommends \
13 file
13 14
14RUN sstream-mirror --keyring=/usr/share/keyrings/ubuntu-cloudimage-keyring.gpg $IMAGE_SRC \ 15RUN sstream-mirror --keyring=/usr/share/keyrings/ubuntu-cloudimage-keyring.gpg $IMAGE_SRC \
15 /var/www/html/maas/images/ephemeral-v3/daily 'arch=amd64' 'release~xenial' --max=1 --progress 16 /var/www/html/maas/images/ephemeral-v3/daily 'arch=amd64' 'release~xenial' --max=1 --progress