2014-01-01 01:33:10 +00:00
|
|
|
require "vagrant"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module GuestFuntoo
|
|
|
|
class Plugin < Vagrant.plugin("2")
|
|
|
|
name "Funtoo guest"
|
|
|
|
description "Funtoo guest support."
|
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest(:funtoo, :linux) do
|
|
|
|
require_relative "guest"
|
2014-01-01 01:33:10 +00:00
|
|
|
Guest
|
|
|
|
end
|
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest_capability(:funtoo, :change_host_name) do
|
2014-01-01 01:33:10 +00:00
|
|
|
require_relative "cap/change_host_name"
|
|
|
|
Cap::ChangeHostName
|
|
|
|
end
|
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest_capability(:funtoo, :configure_networks) do
|
2014-01-01 01:33:10 +00:00
|
|
|
require_relative "cap/configure_networks"
|
|
|
|
Cap::ConfigureNetworks
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|