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