Browse Source

Merge "[suse] Add DOCKER_DEV to /etc/fstab"

changes/96/464296/1
Jenkins 5 years ago committed by Gerrit Code Review
parent
commit
4b1e591ab0
  1. 5
      contrib/drivers/k8s_opensuse_v1/templates/fragments/configure-docker.sh

5
contrib/drivers/k8s_opensuse_v1/templates/fragments/configure-docker.sh

@ -56,6 +56,11 @@ mkfs.btrfs $DOCKER_DEV
mount $DOCKER_DEV /var/lib/docker
# update /etc/fstab with DOCKER_DEV
if ! `grep -q /var/lib/docker /etc/fstab`; then
grep /var/lib/docker /etc/mtab | head -1 >> /etc/fstab
fi
# make sure we pick up any modified unit files
systemctl daemon-reload

Loading…
Cancel
Save