guests/dragonflybsd: add detection for DragonFly BSD
This commit is contained in:
parent
571659a5d1
commit
6cdab917de
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue