Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.

Commit 04f731a

Browse files
committed
fix local kitchen tests
somehow a "real" linux needs different options than WSL. This is now also working on debian 10 Signed-off-by: Martin Schurz <[email protected]>
1 parent 9b14f64 commit 04f731a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.kitchen.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@ driver:
55
cap_add:
66
- SYS_ADMIN
77
volume:
8-
- /sys/fs/cgroup:/sys/fs/cgroup
8+
- /sys/fs/cgroup:/sys/fs/cgroup:ro
9+
run_options:
10+
tmpfs:
11+
- /tmp
12+
- /run
13+
- /run/lock
914
run_command: /sbin/init
1015
http_proxy: <%= ENV['http_proxy'] || nil %>
1116
https_proxy: <%= ENV['https_proxy'] || nil %>

0 commit comments

Comments
 (0)