From b58163441ea2f69503242fc32f93050e521c6216 Mon Sep 17 00:00:00 2001 From: Evgeny Slutsky Date: Tue, 10 Mar 2020 11:21:01 +0200 Subject: [PATCH] Enable network manager in engine Network scripts are deprecated Since el8 Signed-off-by: Evgeny Slutsky --- templates/ifcfg-eth0-dhcp.j2 | 2 +- templates/ifcfg-eth0-static-ipv6.j2 | 2 +- templates/ifcfg-eth0-static.j2 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/ifcfg-eth0-dhcp.j2 b/templates/ifcfg-eth0-dhcp.j2 index 8e92983..a32c1b7 100644 --- a/templates/ifcfg-eth0-dhcp.j2 +++ b/templates/ifcfg-eth0-dhcp.j2 @@ -9,4 +9,4 @@ ZONE=public DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=no -NM_CONTROLLED=no \ No newline at end of file +NM_CONTROLLED=yes diff --git a/templates/ifcfg-eth0-static-ipv6.j2 b/templates/ifcfg-eth0-static-ipv6.j2 index 0f0b27a..2138b94 100644 --- a/templates/ifcfg-eth0-static-ipv6.j2 +++ b/templates/ifcfg-eth0-static-ipv6.j2 @@ -21,4 +21,4 @@ DNS{{loop.index}}={{ d }} {% endfor %} DEFROUTE=yes IPV4_FAILURE_FATAL=no -NM_CONTROLLED=no +NM_CONTROLLED=yes diff --git a/templates/ifcfg-eth0-static.j2 b/templates/ifcfg-eth0-static.j2 index 9bfb6c3..83619a6 100644 --- a/templates/ifcfg-eth0-static.j2 +++ b/templates/ifcfg-eth0-static.j2 @@ -22,4 +22,4 @@ DNS{{loop.index}}={{ d }} DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=no -NM_CONTROLLED=no \ No newline at end of file +NM_CONTROLLED=yes