2012-04-19 04:23:25 +00:00
|
|
|
require "vagrant"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module GuestDebian
|
2012-11-07 05:14:45 +00:00
|
|
|
class Plugin < Vagrant.plugin("2")
|
2012-04-19 04:23:25 +00:00
|
|
|
name "Debian guest"
|
|
|
|
description "Debian guest support."
|
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest(:debian, :linux) do
|
2016-06-05 01:31:41 +00:00
|
|
|
require_relative "guest"
|
2012-05-23 22:57:43 +00:00
|
|
|
Guest
|
|
|
|
end
|
2013-04-04 06:08:33 +00:00
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest_capability(:debian, :configure_networks) do
|
2013-04-04 06:08:33 +00:00
|
|
|
require_relative "cap/configure_networks"
|
|
|
|
Cap::ConfigureNetworks
|
|
|
|
end
|
2013-04-04 06:18:12 +00:00
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest_capability(:debian, :change_host_name) do
|
2013-04-04 06:18:12 +00:00
|
|
|
require_relative "cap/change_host_name"
|
|
|
|
Cap::ChangeHostName
|
|
|
|
end
|
2014-01-10 00:58:20 +00:00
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest_capability(:debian, :nfs_client_install) do
|
2014-01-10 00:58:20 +00:00
|
|
|
require_relative "cap/nfs_client"
|
|
|
|
Cap::NFSClient
|
|
|
|
end
|
2014-01-31 03:26:43 +00:00
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest_capability(:debian, :rsync_install) do
|
2014-01-31 03:26:43 +00:00
|
|
|
require_relative "cap/rsync"
|
|
|
|
Cap::RSync
|
|
|
|
end
|
2015-11-23 19:11:24 +00:00
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest_capability(:debian, :smb_install) do
|
2015-11-23 19:11:24 +00:00
|
|
|
require_relative "cap/smb"
|
|
|
|
Cap::SMB
|
|
|
|
end
|
2012-04-19 04:23:25 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|