2012-04-19 04:23:25 +00:00
|
|
|
require "vagrant"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module GuestUbuntu
|
2012-11-07 05:14:45 +00:00
|
|
|
class Plugin < Vagrant.plugin("2")
|
2012-04-19 04:23:25 +00:00
|
|
|
name "Ubuntu guest"
|
|
|
|
description "Ubuntu guest support."
|
|
|
|
|
2013-04-04 04:47:57 +00:00
|
|
|
guest("ubuntu", "debian") do
|
2012-05-23 22:57:43 +00:00
|
|
|
require File.expand_path("../guest", __FILE__)
|
|
|
|
Guest
|
|
|
|
end
|
2013-04-04 06:53:17 +00:00
|
|
|
|
|
|
|
guest_capability("ubuntu", "change_host_name") do
|
2013-11-23 23:48:00 +00:00
|
|
|
# ubuntu is just just a specialization of the debian code for this capability
|
|
|
|
require_relative "../debian/cap/change_host_name"
|
2013-04-04 06:53:17 +00:00
|
|
|
require_relative "cap/change_host_name"
|
|
|
|
Cap::ChangeHostName
|
|
|
|
end
|
2012-04-19 04:23:25 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|