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

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 aecddf818b3be7c530837cb627a8b4bc412bf608 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.h...@canonical.com>
Date: Thu, 5 Mar 2020 12:18:17 +0100
Subject: [PATCH] images/centos: Template DHCP_HOSTNAME

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

diff --git a/images/centos.yaml b/images/centos.yaml
index 054fa14..a7269f8 100644
--- a/images/centos.yaml
+++ b/images/centos.yaml
@@ -371,7 +371,7 @@ files:
      HOSTNAME=LXC_NAME
      TYPE=Ethernet
      MTU=
-     DHCP_HOSTNAME=`cat /proc/sys/kernel/hostname`
+     DHCP_HOSTNAME=LXC_NAME
    releases:
     - 8
     - 8-Stream
@@ -386,7 +386,7 @@ files:
      HOSTNAME={{ container.name }}
      TYPE=Ethernet
      MTU=
-     DHCP_HOSTNAME=`cat /proc/sys/kernel/hostname`
+     DHCP_HOSTNAME={{ container.name }}
    releases:
     - 8
     - 8-Stream
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to