fix systemd invocation for docker container

This commit is contained in:
Daniel Poelzleithner 2020-08-19 00:30:34 +02:00
parent f121b5d4b2
commit 3913c09782
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ in {
};
systemd.services.docker-ceph-osd-7.serviceConfig = {
ExecStartPre = [
"-${pkgs.docker}/bin/docker run --rm --net=host --ipc=host --privileged=true -v /dev:/dev -v /etc/ceph:/etc/ceph -v /var/lib/ceph/:/var/lib/ceph -e OSD_DEVICE=/dev/sdb -it ceph/ceph:v14.2.9 ceph-volume lvm activate --all"
"-${pkgs.docker}/bin/docker run --rm --net=host --ipc=host --privileged=true -v /dev:/dev -v /etc/ceph:/etc/ceph -v /var/lib/ceph/:/var/lib/ceph -e OSD_DEVICE=/dev/sdb -it ceph/ceph:v14.2.9 ceph-volume lvm activate --all --no-systemd"
];
};