mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
Merge pull request #6172 from glensc/pld/networking
fix network detection on pld-linux
This commit is contained in:
commit
4ccf83de44
2 changed files with 16 additions and 0 deletions
11
plugins/guests/pld/cap/flavor.rb
Normal file
11
plugins/guests/pld/cap/flavor.rb
Normal file
|
|
@ -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 a new issue