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."
|
|
|
|
|
2013-04-04 04:47:57 +00:00
|
|
|
guest("debian", "linux") do
|
2012-05-23 22:57:43 +00:00
|
|
|
require File.expand_path("../guest", __FILE__)
|
|
|
|
Guest
|
|
|
|
end
|
2013-04-04 06:08:33 +00:00
|
|
|
|
|
|
|
guest_capability("debian", "configure_networks") do
|
|
|
|
require_relative "cap/configure_networks"
|
|
|
|
Cap::ConfigureNetworks
|
|
|
|
end
|
2013-04-04 06:18:12 +00:00
|
|
|
|
|
|
|
guest_capability("debian", "change_host_name") do
|
|
|
|
require_relative "cap/change_host_name"
|
|
|
|
Cap::ChangeHostName
|
|
|
|
end
|
2014-01-10 00:58:20 +00:00
|
|
|
|
2014-01-16 02:37:02 +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
|
|
|
|
|
|
|
guest_capability("debian", "rsync_install") do
|
|
|
|
require_relative "cap/rsync"
|
|
|
|
Cap::RSync
|
|
|
|
end
|
2012-04-19 04:23:25 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|