From cfe9140a0bf4358dadf6cf719ecb2c59e9d5f932 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Tue, 28 Apr 2020 18:46:38 +0200 Subject: [PATCH] [interfaces] Do not force autoconf --- roles/interfaces/templates/network/interfaces.d/00-srv.j2 | 3 --- roles/interfaces/templates/network/interfaces.d/01-ens.j2 | 3 --- roles/interfaces/templates/network/interfaces.d/23-adh.j2 | 3 --- 3 files changed, 9 deletions(-) diff --git a/roles/interfaces/templates/network/interfaces.d/00-srv.j2 b/roles/interfaces/templates/network/interfaces.d/00-srv.j2 index ba4f486c..2bf4b97b 100644 --- a/roles/interfaces/templates/network/interfaces.d/00-srv.j2 +++ b/roles/interfaces/templates/network/interfaces.d/00-srv.j2 @@ -22,9 +22,6 @@ iface {{ srv_iface.stdout }} inet static iface {{ srv_iface.stdout }} inet6 static address {{ srv.ipv6[0].address }}/{{ srv.ipv6[0].prefix }} - autoconf 1 - accept_ra 2 - up /sbin/sysctl net/ipv6/conf/$IFACE/accept_ra_defrtr=1 {% if ansible_local.interfaces.sup_if_6 is defined %} {% if srv_iface.stdout in ansible_local.interfaces.sup_if_6 %} {% for line in ansible_local.interfaces.sup_if_6[srv_iface.stdout] %} diff --git a/roles/interfaces/templates/network/interfaces.d/01-ens.j2 b/roles/interfaces/templates/network/interfaces.d/01-ens.j2 index 36e6d154..e1f101e2 100644 --- a/roles/interfaces/templates/network/interfaces.d/01-ens.j2 +++ b/roles/interfaces/templates/network/interfaces.d/01-ens.j2 @@ -22,9 +22,6 @@ iface {{ ens_iface.stdout }} inet static iface {{ ens_iface.stdout }} inet6 static address {{ ens.ipv6[0].address }}/{{ ens.ipv6[0].prefix }} - autoconf 1 - accept_ra 2 - up /sbin/sysctl net/ipv6/conf/$IFACE/accept_ra_defrtr=1 {% if ansible_local.interfaces.sup_if_6 is defined %} {% if ens_iface.stdout in ansible_local.interfaces.sup_if_6 %} {% for line in ansible_local.interfaces.sup_if_6[ens_iface.stdout] %} diff --git a/roles/interfaces/templates/network/interfaces.d/23-adh.j2 b/roles/interfaces/templates/network/interfaces.d/23-adh.j2 index df9a47ad..45241e6b 100644 --- a/roles/interfaces/templates/network/interfaces.d/23-adh.j2 +++ b/roles/interfaces/templates/network/interfaces.d/23-adh.j2 @@ -22,9 +22,6 @@ iface {{ adh_iface.stdout }} inet static iface {{ adh_iface.stdout }} inet6 static address {{ adh.ipv6[0].address }}/{{ adh.ipv6[0].prefix }} - autoconf 1 - accept_ra 2 - up /sbin/sysctl net/ipv6/conf/$IFACE/accept_ra_defrtr=1 {% if ansible_local.interfaces.sup_if_6 is defined %} {% if adh_iface.stdout in ansible_local.interfaces.sup_if_6 %} {% for line in ansible_local.interfaces.sup_if_6[adh_iface.stdout] %}