Skip to content
Snippets Groups Projects

Master: update includes the additon of ubuntu Linux distribution focal/22.04 and minor change solving system docker image to work with Colima and Rancher

Merged Remy Mudingay requested to merge remymudingay/cookiecutter-ics-ans-role:master into master
Files
3
@@ -44,13 +44,25 @@ platforms:
- name: {{ cookiecutter.role_name }}-default
{%- if cookiecutter.molecule_instance == 'docker centos:7' %}
image: centos:7
{%- elif cookiecutter.molecule_instance == 'docker ubuntu:22.04' %}
image: ubuntu:22.04
{%- elif cookiecutter.molecule_instance == 'docker centos:7 with systemd' %}
image: registry.esss.lu.se/ics-docker/centos-systemd:7
# SYS_ADMIN required to run systemctl
capabilities:
- SYS_ADMIN
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /sys/fs/cgroup:/sys/fs/cgroup
tmpfs:
- /run
command: /sbin/init
{%- elif cookiecutter.molecule_instance == 'docker ubuntu:22.04 with systemd' %}
image: registry.esss.lu.se/ics-docker/ubuntu-systemd:22.04
# SYS_ADMIN required to run systemctl
capabilities:
- SYS_ADMIN
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup
tmpfs:
- /run
command: /sbin/init
@@ -60,6 +72,12 @@ platforms:
cpus: 1
instance_raw_config_args:
- "vbguest.auto_update = false"
{%- elif cookiecutter.molecule_instance == 'vagrant ubuntu/jammy64' %}
box: ubuntu/jammy64
memory: 2048
cpus: 1
instance_raw_config_args:
- "vbguest.auto_update = false"
{%- elif cookiecutter.molecule_instance == 'vagrant juniper/vqfx10k-re' %}
box: juniper/vqfx10k-re
memory: 2048
Loading