diff --git a/plugins/guests/pld/cap/flavor.rb b/plugins/guests/pld/cap/flavor.rb new file mode 100644 index 000000000..5ade9d18c --- /dev/null +++ b/plugins/guests/pld/cap/flavor.rb @@ -0,0 +1,11 @@ +module VagrantPlugins + module GuestPld + module Cap + class Flavor + def self.flavor(machine) + return :pld + end + end + end + end +end diff --git a/plugins/guests/pld/plugin.rb b/plugins/guests/pld/plugin.rb index ef7939fad..697599c81 100644 --- a/plugins/guests/pld/plugin.rb +++ b/plugins/guests/pld/plugin.rb @@ -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