fix network detection on pld-linux

pld linux uses redhat as base, but lacks :flavour
this will add it
This commit is contained in:
Elan Ruusamäe 2015-08-21 12:49:36 +03:00
parent 3fed57043d
commit f71b27ff27
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,11 @@
module VagrantPlugins
module GuestPld
module Cap
class Flavor
def self.flavor(machine)
return :pld
end
end
end
end
end

View File

@ -20,6 +20,11 @@ module VagrantPlugins
require_relative "cap/network_scripts_dir"
Cap::NetworkScriptsDir
end
guest_capability("pld", "flavor") do
require_relative "cap/flavor"
Cap::Flavor
end
end
end
end