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

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 40be03fe3eed2900cd3c2142f1a5baa4b5e517d7 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.h...@canonical.com>
Date: Thu, 16 Apr 2020 17:04:24 +0200
Subject: [PATCH 1/2] images/mint: Enable systemd-networkd

Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
---
 images/mint.yaml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/images/mint.yaml b/images/mint.yaml
index 75b31d4..6a117f8 100644
--- a/images/mint.yaml
+++ b/images/mint.yaml
@@ -407,6 +407,17 @@ actions:
     getent group sudo >/dev/null 2>&1 || groupadd --system sudo
     useradd --create-home -s /bin/bash -G sudo -U ubuntu
 
+- trigger: post-packages
+  action: |-
+    #!/bin/sh
+    set -eux
+
+    # Enable systemd-networkd
+    ln -s /lib/systemd/system/systemd-networkd.service 
/etc/systemd/system/multi-user.target.wants/systemd-networkd.service
+    ln -s /lib/systemd/system/systemd-networkd.socket 
/etc/systemd/system/multi-user.target.wants/systemd-networkd.socket
+variants:
+- cloud
+
 - trigger: post-packages
   action: |-
     #!/bin/sh

From 7c390f04504e65c810ca3867094c6921603b33ef Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.h...@canonical.com>
Date: Thu, 16 Apr 2020 17:04:34 +0200
Subject: [PATCH 2/2] images/ubuntu: Enable systemd-networkd

Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
---
 images/ubuntu.yaml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/images/ubuntu.yaml b/images/ubuntu.yaml
index 69d124c..fa18855 100644
--- a/images/ubuntu.yaml
+++ b/images/ubuntu.yaml
@@ -531,6 +531,17 @@ actions:
     getent group sudo >/dev/null 2>&1 || groupadd --system sudo
     useradd --create-home -s /bin/bash -G sudo -U ubuntu
 
+- trigger: post-packages
+  action: |-
+    #!/bin/sh
+    set -eux
+
+    # Enable systemd-networkd
+    ln -s /lib/systemd/system/systemd-networkd.service 
/etc/systemd/system/multi-user.target.wants/systemd-networkd.service
+    ln -s /lib/systemd/system/systemd-networkd.socket 
/etc/systemd/system/multi-user.target.wants/systemd-networkd.socket
+variants:
+- cloud
+
 - trigger: post-packages
   action: |-
     #!/bin/sh
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to