2016-09-15 21:15:36 +00:00
|
|
|
require "vagrant"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module GuestHaiku
|
|
|
|
class Plugin < Vagrant.plugin("2")
|
|
|
|
name "Haiku guest"
|
|
|
|
description "Haiku guest support."
|
|
|
|
|
|
|
|
guest(:haiku) do
|
|
|
|
require_relative "guest"
|
|
|
|
Guest
|
|
|
|
end
|
|
|
|
|
2017-12-06 00:19:15 +00:00
|
|
|
guest_capability(:haiku, :halt) do
|
|
|
|
require_relative "cap/halt"
|
|
|
|
Cap::Halt
|
|
|
|
end
|
|
|
|
|
2016-09-15 21:15:36 +00:00
|
|
|
guest_capability(:haiku, :change_host_name) do
|
|
|
|
require_relative "cap/change_host_name"
|
|
|
|
Cap::ChangeHostName
|
|
|
|
end
|
2017-12-06 00:19:15 +00:00
|
|
|
|
|
|
|
guest_capability(:haiku, :insert_public_key) do
|
|
|
|
require_relative "cap/insert_public_key"
|
|
|
|
Cap::InsertPublicKey
|
|
|
|
end
|
|
|
|
|
|
|
|
guest_capability(:haiku, :remove_public_key) do
|
|
|
|
require_relative "cap/remove_public_key"
|
|
|
|
Cap::RemovePublicKey
|
|
|
|
end
|
2016-09-15 21:15:36 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|