[lxc-devel] [lxc-ci/master] images/sabayon: Fix IP issue

monstermunchkin on Github lxc-bot at linuxcontainers.org
Tue May 26 11:20:21 UTC 2020


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 303 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200526/7a778b9e/attachment.bin>
-------------- next part --------------
From 8ec8b5aaea21a4f11a3e8bc92a49742da17644d2 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.hipp at canonical.com>
Date: Tue, 26 May 2020 13:16:46 +0200
Subject: [PATCH] images/sabayon: Fix IP issue

Signed-off-by: Thomas Hipp <thomas.hipp at canonical.com>
---
 images/sabayon.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/images/sabayon.yaml b/images/sabayon.yaml
index 6097b07..beb21ab 100644
--- a/images/sabayon.yaml
+++ b/images/sabayon.yaml
@@ -56,6 +56,14 @@ files:
     ExecStart=
     ExecStart=/usr/lib/systemd/systemd-sysctl  --prefix=/etc/sysctl.d/
 
+- path: /etc/systemd/system/NetworkManager.service.d/override.conf
+  generator: dump
+  content: |-
+    [Service]
+    ExecStartPre=-/bin/ip link set dev eth0 down
+  variants:
+  - default
+
 - name: network-device-down.service
   path: /etc/systemd/system/network-device-down.service
   generator: dump


More information about the lxc-devel mailing list