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

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 a039e7f60810dc68be8c9082f1e0a3460ce98ce7 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.h...@canonical.com>
Date: Tue, 14 Apr 2020 21:07:53 +0200
Subject: [PATCH 1/2] images/mint: Use mac address as identifier

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

diff --git a/images/mint.yaml b/images/mint.yaml
index 3905e16..75b31d4 100644
--- a/images/mint.yaml
+++ b/images/mint.yaml
@@ -302,7 +302,9 @@ files:
     network:
       version: 2
       ethernets:
-        eth0: {dhcp4: true}
+        eth0:
+          dhcp4: true
+          dhcp-identifier: mac
   releases:
   - tara
   - tessa

From 8930f305bd032779edaa7eb6d7347ecfc3d6d0cb Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.h...@canonical.com>
Date: Tue, 14 Apr 2020 21:08:06 +0200
Subject: [PATCH 2/2] images/ubuntu: Use mac address as identifier

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

diff --git a/images/ubuntu.yaml b/images/ubuntu.yaml
index 95374ea..69d124c 100644
--- a/images/ubuntu.yaml
+++ b/images/ubuntu.yaml
@@ -301,7 +301,9 @@ files:
     network:
       version: 2
       ethernets:
-        eth0: {dhcp4: true}
+        eth0:
+          dhcp4: true
+          dhcp-identifier: mac
   releases:
   - bionic
   - eoan
@@ -337,7 +339,9 @@ files:
     network:
       version: 2
       ethernets:
-        enp5s0: {dhcp4: true}
+        enp5s0:
+          dhcp4: true
+          dhcp-identifier: mac
   releases:
   - bionic
   - eoan
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to