Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
Merge pull request #18 from ministryofjustice/disable_linux_extras
Browse files Browse the repository at this point in the history
Disable linux kernel extras
  • Loading branch information
pwyborn authored Aug 10, 2017
2 parents 6a95ad3 + 379f7f6 commit 30be40f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,20 @@ docker-dependencies:
- pciutils
- procps
- ca-certificates
docker-kernel-dependencies:
pkg.installed:
- pkgs:
- linux-image-extra-{{ salt['grains.get']('kernelrelease') }}
- unless: grep aufs /proc/filesystems
docker-pkg:
pkg.installed:
- name: {{ docker.pkg }}
- version: {{ docker.pkg_version }}-0~{{ grains.lsb_distrib_codename }}
- require:
- pkg: docker-dependencies
- pkg: docker-kernel-dependencies
- pkgrepo: docker_repo
- kmod: aufs
Expand Down

0 comments on commit 30be40f

Please sign in to comment.