The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxc-ci/pull/81
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 in cloud-init.
From ecb2826a8e7d5dacf7f498637bb8c5e2b630cd9c 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. Having invalid configuration syntax in /etc/conf.d breaks the initial network setup. --- images/gentoo.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/images/gentoo.yaml b/images/gentoo.yaml index 3124b96..fcf4179 100644 --- a/images/gentoo.yaml +++ b/images/gentoo.yaml @@ -329,7 +329,8 @@ 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