From 8e3a4154830c60b98636ec7a4c61002cbb882828 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Mon, 16 Sep 2019 17:18:17 +0200 Subject: docker-compose: Align hosts with hostname When using Docker CE 19.x, `hostname -d` fails to properly resolve the domainname due to changes in the way Docker sets it inside the container. Work around this issue by aligning the contents of `/etc/hostname` with `/etc/hosts`, so `hostname -d` can properly determine the domain name. This also requires calling `hostname -b` via cfg01 entrypoint.sh. Change-Id: I697b5d9882e3d6641712a00bca10012800ee1898 Signed-off-by: Alexandru Avadanii --- mcp/scripts/.gitignore | 1 + 1 file changed, 1 insertion(+) (limited to 'mcp/scripts/.gitignore') diff --git a/mcp/scripts/.gitignore b/mcp/scripts/.gitignore index c21c3d9de..d89d60722 100644 --- a/mcp/scripts/.gitignore +++ b/mcp/scripts/.gitignore @@ -2,3 +2,4 @@ mcp.rsa* user-data.sh xdf_data.sh docker-compose/files/entrypoint_maas.sh +docker-compose/files/hosts -- cgit 1.2.3-korg