2013-03-24 17:38:56 +00:00
|
|
|
require "vagrant"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module GuestPld
|
|
|
|
class Plugin < Vagrant.plugin("2")
|
|
|
|
name "PLD Linux guest"
|
|
|
|
description "PLD Linux guest support."
|
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest(:pld, :redhat) do
|
2016-06-05 21:10:15 +00:00
|
|
|
require_relative "guest"
|
2013-03-24 17:38:56 +00:00
|
|
|
Guest
|
|
|
|
end
|
2013-04-04 19:09:40 +00:00
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest_capability(:pld, :change_host_name) do
|
2013-11-27 07:38:28 +00:00
|
|
|
require_relative "cap/change_host_name"
|
|
|
|
Cap::ChangeHostName
|
|
|
|
end
|
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest_capability(:pld, :network_scripts_dir) do
|
2013-04-04 19:09:40 +00:00
|
|
|
require_relative "cap/network_scripts_dir"
|
|
|
|
Cap::NetworkScriptsDir
|
|
|
|
end
|
2015-08-21 09:49:36 +00:00
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest_capability(:pld, :flavor) do
|
2015-08-21 09:49:36 +00:00
|
|
|
require_relative "cap/flavor"
|
|
|
|
Cap::Flavor
|
|
|
|
end
|
2013-03-24 17:38:56 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|