diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 625ed53fa..1f9800c39 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -22,7 +22,8 @@ platforms: - 2380/tcp 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 groups: @@ -39,7 +40,8 @@ platforms: - 2380/tcp 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 groups: @@ -56,7 +58,8 @@ platforms: - 2380/tcp 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 groups: @@ -74,7 +77,8 @@ platforms: - 6432/tcp 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 groups: @@ -94,7 +98,8 @@ platforms: - 6432/tcp 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 groups: diff --git a/molecule/postgrespro/molecule.yml b/molecule/postgrespro/molecule.yml index ff967da9e..6aa7ad4a8 100644 --- a/molecule/postgrespro/molecule.yml +++ b/molecule/postgrespro/molecule.yml @@ -17,7 +17,8 @@ platforms: - 2380/tcp 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 env: @@ -37,7 +38,8 @@ platforms: - 2380/tcp 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 env: @@ -57,7 +59,8 @@ platforms: - 2380/tcp 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 env: @@ -78,7 +81,8 @@ platforms: - 6432/tcp 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 env: @@ -101,7 +105,8 @@ platforms: - 6432/tcp 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 env: