5141e1305a
If the folder `/car/cache/dnf` is present, the content will be cached like in the Yum plugin. A possible configuration to enable it: Vagrant.configure(2) do |config| config.vm.box = "fedora/24-cloud-base" if Vagrant.has_plugin?("vagrant-cachier") config.cache.scope = :machine config.cache.auto_detect = false config.cache.enable :dnf end end
13 lines
226 B
Ruby
13 lines
226 B
Ruby
module VagrantPlugins
|
|
module Cachier
|
|
module Cap
|
|
module RedHat
|
|
module DnfCacheDir
|
|
def self.dnf_cache_dir(machine)
|
|
'/var/cache/dnf'
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|