The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc-ci/pull/216

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===

From bb0024cd9b81d3ecb81d51cf8fa1786e4378ffd9 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.h...@canonical.com>
Date: Tue, 15 Dec 2020 15:52:35 +0100
Subject: [PATCH] images/centos: Fix CentOS 8-Stream networking issue

Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
---
 images/centos.yaml | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/images/centos.yaml b/images/centos.yaml
index 6cedf9b..4346144 100644
--- a/images/centos.yaml
+++ b/images/centos.yaml
@@ -399,15 +399,11 @@ files:
   - 8
   - 8-Stream
 
-- name: override.conf
-  path: /etc/systemd/system/NetworkManager.service.d/override.conf
+- name: 86-nm-unmanaged.rules
+  path: /usr/lib/udev/rules.d/86-nm-unmanaged.rules
   generator: dump
   content: |-
-    [Service]
-    ExecStartPost=/usr/sbin/dhclient
-
-  types:
-  - container
+    ENV{ID_NET_DRIVER}=="veth", ENV{NM_UNMANAGED}="0"
   releases:
   - 8-Stream
 
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to