From 8411e5b54c2d0c2f7ffebcbc8f7324eb0835ce25 Mon Sep 17 00:00:00 2001 From: Jack Date: Fri, 23 Aug 2024 15:23:01 +0800 Subject: [PATCH] Support CentOS 7 Signed-off-by: Jack --- molecule/default/molecule.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index bdd9139..6e30ed4 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -16,7 +16,8 @@ platforms: image: "geerlingguy/docker-centos7-ansible:python3" command: ${MOLECULE_DOCKER_COMMAND:-""} volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro + - /sys/fs/cgroup:/sys/fs/cgroup:rw + cgroupns_mode: host privileged: true pre_build_image: true provisioner: