diff --git a/plugins/guests/dragonflybsd/guest.rb b/plugins/guests/dragonflybsd/guest.rb new file mode 100644 index 000000000..94b6ea137 --- /dev/null +++ b/plugins/guests/dragonflybsd/guest.rb @@ -0,0 +1,9 @@ +module VagrantPlugins + module GuestDragonFlyBSD + class Guest < Vagrant.plugin("2", :guest) + def detect?(machine) + machine.communicate.test("uname -s | grep -i 'DragonFly'") + end + end + end +end diff --git a/plugins/guests/dragonflybsd/plugin.rb b/plugins/guests/dragonflybsd/plugin.rb new file mode 100644 index 000000000..31caa06df --- /dev/null +++ b/plugins/guests/dragonflybsd/plugin.rb @@ -0,0 +1,15 @@ +require "vagrant" + +module VagrantPlugins + module GuestDragonFlyBSD + class Plugin < Vagrant.plugin("2") + name "DragonFly BSD guest" + description "DragonFly BSD guest support." + + guest(:dragonflybsd, :bsd) do + require_relative "guest" + Guest + end + end + end +end