Skip to content

Commit

Permalink
change default command
Browse files Browse the repository at this point in the history
  • Loading branch information
machariamuguku committed Mar 13, 2024
1 parent 66e407f commit 748fae4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ platforms:
- name: nginx-ubuntu-18.04
image: "geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu1804}-ansible:latest"
privileged: true
command: ${MOLECULE_DOCKER_COMMAND:-"/usr/sbin/init"}
command: ${MOLECULE_DOCKER_COMMAND:-"/lib/systemd/systemd"}
cgroupns_mode: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
Expand All @@ -23,7 +23,7 @@ platforms:
- name: nginx-ubuntu-20.04
image: "geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu2004}-ansible:latest"
privileged: true
command: ${MOLECULE_DOCKER_COMMAND:-"/usr/sbin/init"}
command: ${MOLECULE_DOCKER_COMMAND:-"/lib/systemd/systemd"}
cgroupns_mode: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
Expand All @@ -33,7 +33,7 @@ platforms:
- name: nginx-ubuntu-22.04
image: "geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu2204}-ansible:latest"
privileged: true
command: ${MOLECULE_DOCKER_COMMAND:-"/usr/sbin/init"}
command: ${MOLECULE_DOCKER_COMMAND:-"/lib/systemd/systemd"}
cgroupns_mode: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
Expand Down

0 comments on commit 748fae4

Please sign in to comment.