From b2de2b9347e0e7f31be336d865263524c86c71b3 Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Mon, 8 Jan 2018 14:22:28 +0100 Subject: Fix libguestfs on slave Libguestfs actions are done by the dispatcher, so the slave must be able to do them. In the same time, add a TODO for setting volumes as read_only. --- docker-compose.template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docker-compose.template') diff --git a/docker-compose.template b/docker-compose.template index 21f9231..b88ed85 100644 --- a/docker-compose.template +++ b/docker-compose.template @@ -14,7 +14,7 @@ services: - "5555:5555" - "5556:5556" volumes: -# boot and /lib/modules are for libguestfs +# boot and /lib/modules are for libguestfs (TODO set them read_only with docker-compose 3.0) - "/boot:/boot" - "/lib/modules:/lib/modules" lava-slave: @@ -29,6 +29,10 @@ services: - "69:69/udp" - "80:80" - "61950-62000:61950-62000" + volumes: +# boot and /lib/modules are for libguestfs (TODO set them read_only with docker-compose 3.0) + - "/boot:/boot" + - "/lib/modules:/lib/modules" links: - "lava-master" squid: -- cgit 1.2.3-korg