From 7a596e020c6d6d1085dbc9d1fd7a0b14e19afec0 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Wed, 20 Sep 2017 09:54:38 +0200 Subject: node: specify the DNS domain Signed-off-by: Giuseppe Scrivano --- roles/openshift_node/tasks/node_system_container.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/openshift_node/tasks/node_system_container.yml b/roles/openshift_node/tasks/node_system_container.yml index b2dceedbe..0ca44c292 100644 --- a/roles/openshift_node/tasks/node_system_container.yml +++ b/roles/openshift_node/tasks/node_system_container.yml @@ -9,4 +9,6 @@ oc_atomic_container: name: "{{ openshift.common.service_type }}-node" image: "{{ 'docker:' if openshift.common.system_images_registry == 'docker' else openshift.common.system_images_registry + '/' }}{{ openshift.node.node_system_image }}:{{ openshift_image_tag }}" + values: + - "DNS_DOMAIN={{ openshift.common.dns_domain }}" state: latest -- cgit v1.2.3 From 209c2fa22d82474edccba397ea034074181fa470 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Wed, 20 Sep 2017 09:55:10 +0200 Subject: crio: ensure no default CNI configuration files are left Signed-off-by: Giuseppe Scrivano --- roles/docker/tasks/systemcontainer_crio.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/roles/docker/tasks/systemcontainer_crio.yml b/roles/docker/tasks/systemcontainer_crio.yml index 0bab0899c..8208fa68d 100644 --- a/roles/docker/tasks/systemcontainer_crio.yml +++ b/roles/docker/tasks/systemcontainer_crio.yml @@ -134,6 +134,14 @@ image: "{{ l_crio_image }}" state: latest +- name: Remove CRI-o default configuration files + file: + path: "{{ item }}" + state: absent + with_items: + - /etc/cni/net.d/200-loopback.conf + - /etc/cni/net.d/100-crio-bridge.conf + - name: Create the CRI-O configuration template: dest: /etc/crio/crio.conf -- cgit v1.2.3