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

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) ===
Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
From e9a968a31ea1edb5d815addd72baf020cd83256c Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.h...@canonical.com>
Date: Wed, 4 Sep 2019 18:47:48 +0200
Subject: [PATCH] images: Fix IPV4 on Apertis

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

diff --git a/images/apertis.yaml b/images/apertis.yaml
index a2214d9..9098c95 100644
--- a/images/apertis.yaml
+++ b/images/apertis.yaml
@@ -58,5 +58,19 @@ environment:
     - key: TMPDIR
       set: false
 
+actions:
+ - trigger: post-unpack
+   action: |-
+    #!/bin/sh
+    set -eux
+
+    cat <<-EOF > /etc/systemd/network/eth0.network
+    [Match]
+    Name=eth0
+
+    [Network]
+    DHCP=yes
+    EOF
+
 mappings:
   architecture_map: debian
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to