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

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) ===
Having invalid configuration syntax in /etc/conf.d breaks
the initial network setup.

Signed-off-by: Jan Vansteenkiste <j...@vstone.eu>
From f3ea324ad323b054ef52c25ec72512b5a3cafdf3 Mon Sep 17 00:00:00 2001
From: Jan Vansteenkiste <j...@vstone.eu>
Date: Sat, 21 Sep 2019 19:23:14 +0200
Subject: [PATCH] Configure the hostname properly for gentoo hosts.

Having invalid configuration syntax in /etc/conf.d breaks
the initial network setup.

Signed-off-by: Jan Vansteenkiste <j...@vstone.eu>
---
 images/gentoo.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/images/gentoo.yaml b/images/gentoo.yaml
index 3124b96..9de6ea3 100644
--- a/images/gentoo.yaml
+++ b/images/gentoo.yaml
@@ -329,7 +329,9 @@ files:
 
  - name: conf-hostname
    path: /etc/conf.d/hostname
-   generator: hostname
+   generator: template
+   content: |-
+     hostname="{{ container.name }}"
 
  - name: hosts
    path: /etc/hosts
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to