summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeha Pansare <neha.pansare@progress.com>2023-01-05 16:10:26 +0530
committerNeha Pansare <neha.pansare@progress.com>2023-01-05 16:10:26 +0530
commit2d5ee06dd01d2b4bd5ad9bdbb2d6fd422a28c0d7 (patch)
treee16d0ad45449c3069274d41c90d0c535563a4cfd
parent3c901fab4b01793127e290c10c460d784d1060f4 (diff)
downloadchef-neha-p6/INFC-384_fix_amazonlinux.tar.gz
Bind system_bus_socket between host and containerneha-p6/INFC-384_fix_amazonlinux
Signed-off-by: Neha Pansare <neha.pansare@progress.com>
-rw-r--r--kitchen-tests/kitchen.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kitchen-tests/kitchen.yml b/kitchen-tests/kitchen.yml
index dcaa570b95..0d0e963b54 100644
--- a/kitchen-tests/kitchen.yml
+++ b/kitchen-tests/kitchen.yml
@@ -47,6 +47,8 @@ platforms:
driver:
image: dokken/amazonlinux-2
pid_one_command: /usr/lib/systemd/systemd
+ privileged: true
+ binds: /run/dbus/system_bus_socket:/run/dbus/system_bus_socket:ro
intermediate_instructions:
- RUN sed -i -e "s/Defaults.*requiretty.*/Defaults !requiretty/g" /etc/sudoers