provisioners/docker: for debian, chmod the var lib docker folder

This commit is contained in:
Mitchell Hashimoto 2015-07-08 12:13:25 -06:00
parent 606a8fdde2
commit 9dd5640324
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ module VagrantPlugins
comm.sudo("apt-get update")
comm.sudo("echo lxc lxc/directory string /var/lib/lxc | debconf-set-selections")
comm.sudo("apt-get install -y --force-yes -q xz-utils #{package} -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold'")
# chmod the directory if it exists
comm.sudo("chmod 0755 /var/lib/docker")
end
end
end