provisioners/docker: for debian, chmod the var lib docker folder
This commit is contained in:
parent
606a8fdde2
commit
9dd5640324
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue