From a06849afe0c36317188ea8999f5be3492c64ad69 Mon Sep 17 00:00:00 2001 From: David Young Date: Fri, 29 Sep 2017 07:40:33 +1300 Subject: [PATCH] Create /var/lib/ceph on base OS --- manuscript/ha-docker-swarm/shared-storage-ceph.md | 1 + 1 file changed, 1 insertion(+) diff --git a/manuscript/ha-docker-swarm/shared-storage-ceph.md b/manuscript/ha-docker-swarm/shared-storage-ceph.md index 7289d44..dafbf1d 100644 --- a/manuscript/ha-docker-swarm/shared-storage-ceph.md +++ b/manuscript/ha-docker-swarm/shared-storage-ceph.md @@ -35,6 +35,7 @@ I originally provided shared storage to my nodes using GlusterFS (see the next r Since our Ceph components will be containerized, we need to ensure the SELinux context on the base OS's ceph files is set correctly: ``` +mkdir /var/lib/ceph chcon -Rt svirt_sandbox_file_t /etc/ceph chcon -Rt svirt_sandbox_file_t /var/lib/ceph ```