Commit 5c3e8df4 authored by Ricardo Rocha's avatar Ricardo Rocha
Browse files

[cern] make cvmfs an atomic system container

parent 0349673f
......@@ -10,14 +10,11 @@ chattr -i /
mkdir /cvmfs
chattr +i /
atomic install${CVMFS_TAG:-latest}
# allow containers to access fuse mounts
setsebool virt_sandbox_use_fusefs true
# install kubernetes volume plugin
mkdir -p /var/lib/kubelet/plugins/volume/exec/cern~cvmfs
docker cp docker-volume-cvmfs:/usr/sbin/docker-volume-cvmfs /var/lib/kubelet/plugins/volume/exec/cern~cvmfs/cvmfs
atomic install --name docker-volume-cvmfs --system${CVMFS_TAG:-latest}
systemctl start docker-volume-cvmfs
# TODO: drop this requirement (kubelet seems to need the binary there on start)
systemctl restart kubelet
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment