[lxc-devel] [lxc-ci/master] Use mac address as identifier
monstermunchkin on Github
lxc-bot at linuxcontainers.org
Tue Apr 14 19:08:54 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/20200414/50a99470/attachment.bin>
-------------- next part --------------
From a039e7f60810dc68be8c9082f1e0a3460ce98ce7 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.hipp at 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.hipp at 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.hipp at 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.hipp at 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
More information about the lxc-devel
mailing list