fix network detection on pld-linux
pld linux uses redhat as base, but lacks :flavour this will add it
This commit is contained in:
parent
3fed57043d
commit
f71b27ff27
|
@ -0,0 +1,11 @@
|
|||
module VagrantPlugins
|
||||
module GuestPld
|
||||
module Cap
|
||||
class Flavor
|
||||
def self.flavor(machine)
|
||||
return :pld
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue