fix systemd invocation for docker container
This commit is contained in:
parent
f121b5d4b2
commit
3913c09782
|
@ -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"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user