]> git.openstreetmap.org Git - chef.git/commitdiff
Make sure the tests know they are running in a container
authorTom Hughes <tom@compton.nu>
Sun, 21 Jun 2020 10:23:38 +0000 (11:23 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 21 Jun 2020 10:48:21 +0000 (11:48 +0100)
This ensures that systemd-detect-virt will detect that we are
running in a container and prevents apparmor being started.

.kitchen.yml

index 20147d088b8ba0073b13d44caa75bcae6cda457c..133d124eea8396df116445f4467ca86f5aa1fbb0 100644 (file)
@@ -2,6 +2,8 @@
 driver:
   name: dokken
   chef_version: 15
+  env:
+    - container=dokken
 
 transport:
   name: dokken