diff options
author | khilman <khilman@users.noreply.github.com> | 2018-02-14 09:29:51 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-14 09:29:51 -0800 |
commit | 7af6b055f0961e6fca7dc628cee3cd0a8d034d07 (patch) | |
tree | d40e278dbf675949b604b597cb033303501a9a5d /docker-compose.template | |
parent | 10a657a9767b998f4503318c60eae3816b5863e9 (diff) | |
parent | b955ed71c99585837e7e9dba2c7073b32f1d2b1e (diff) |
Merge pull request #21 from montjoie/enablekvm
Allow KVM support for slaves
Diffstat (limited to 'docker-compose.template')
-rw-r--r-- | docker-compose.template | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/docker-compose.template b/docker-compose.template index d125af8..87d59d3 100644 --- a/docker-compose.template +++ b/docker-compose.template @@ -7,9 +7,6 @@ services: tty: true build: context: lava-master -# TODO handle kvm option -# devices: -# - "/dev/kvm:/dev/kvm" ports: - "10080:80" - "5555:5555" @@ -18,14 +15,13 @@ services: # 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: + lab-slave-0: hostname: lab-slave-0 #conmux does not support dns_search dns_search: "" restart: always build: context: lava-slave - devices: environment: LAVA_MASTER: "lava-master" ports: |