2014-01-14 06:25:35 +00:00
|
|
|
require "vagrant"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module GuestNetBSD
|
|
|
|
class Plugin < Vagrant.plugin("2")
|
|
|
|
name "NetBSD guest"
|
|
|
|
description "NetBSD guest support."
|
|
|
|
|
2016-06-18 00:16:36 +00:00
|
|
|
guest(:netbsd, :bsd) do
|
2016-06-17 23:45:20 +00:00
|
|
|
require_relative "guest"
|
2014-01-14 06:25:35 +00:00
|
|
|
Guest
|
|
|
|
end
|
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest_capability(:netbsd, :change_host_name) do
|
2014-01-14 06:25:35 +00:00
|
|
|
require_relative "cap/change_host_name"
|
|
|
|
Cap::ChangeHostName
|
|
|
|
end
|
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest_capability(:netbsd, :configure_networks) do
|
2014-01-14 06:25:35 +00:00
|
|
|
require_relative "cap/configure_networks"
|
|
|
|
Cap::ConfigureNetworks
|
|
|
|
end
|
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest_capability(:netbsd, :rsync_install) do
|
2014-01-31 03:26:43 +00:00
|
|
|
require_relative "cap/rsync"
|
|
|
|
Cap::RSync
|
|
|
|
end
|
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest_capability(:netbsd, :rsync_installed) do
|
2014-01-31 03:26:43 +00:00
|
|
|
require_relative "cap/rsync"
|
|
|
|
Cap::RSync
|
|
|
|
end
|
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest_capability(:netbsd, :rsync_command) do
|
2014-04-25 19:00:12 +00:00
|
|
|
require_relative "cap/rsync"
|
|
|
|
Cap::RSync
|
|
|
|
end
|
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest_capability(:netbsd, :rsync_post) do
|
2014-01-31 03:26:43 +00:00
|
|
|
require_relative "cap/rsync"
|
|
|
|
Cap::RSync
|
|
|
|
end
|
2014-02-03 11:12:49 +00:00
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest_capability(:netbsd, :rsync_pre) do
|
2014-05-07 01:40:55 +00:00
|
|
|
require_relative "cap/rsync"
|
|
|
|
Cap::RSync
|
|
|
|
end
|
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest_capability(:netbsd, :shell_expand_guest_path) do
|
2014-02-02 20:38:24 +00:00
|
|
|
require_relative "cap/shell_expand_guest_path"
|
|
|
|
Cap::ShellExpandGuestPath
|
|
|
|
end
|
2014-01-14 06:25:35 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|