Disable apt-lists bucket for windows hosts
Fixes GH-106
This commit is contained in:
parent
2b6a07d000
commit
1a1b108c23
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,10 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
|
|
||||||
def install
|
def install
|
||||||
|
# Apt lists bucket can't be used on windows hosts
|
||||||
|
# https://github.com/fgrehm/vagrant-cachier/issues/106
|
||||||
|
return if Vagrant::Util::Platform.windows?
|
||||||
|
|
||||||
if guest.capability?(:apt_lists_dir)
|
if guest.capability?(:apt_lists_dir)
|
||||||
guest_path = guest.capability(:apt_lists_dir)
|
guest_path = guest.capability(:apt_lists_dir)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue