2015-11-12 13:33:04 +00:00
|
|
|
require "vagrant"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module GuestSlackware
|
|
|
|
class Plugin < Vagrant.plugin("2")
|
|
|
|
name "Slackware guest"
|
|
|
|
description "Slackware guest support."
|
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest(:slackware, :linux) do
|
2016-06-05 23:56:22 +00:00
|
|
|
require_relative "guest"
|
2015-11-12 13:33:04 +00:00
|
|
|
Guest
|
|
|
|
end
|
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest_capability(:slackware, :change_host_name) do
|
2015-11-12 13:33:04 +00:00
|
|
|
require_relative "cap/change_host_name"
|
|
|
|
Cap::ChangeHostName
|
|
|
|
end
|
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest_capability(:slackware, :configure_networks) do
|
2015-11-12 13:33:04 +00:00
|
|
|
require_relative "cap/configure_networks"
|
|
|
|
Cap::ConfigureNetworks
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|