vagrant/plugins/guests/ubuntu/plugin.rb

23 lines
589 B
Ruby
Raw Normal View History

require "vagrant"
module VagrantPlugins
module GuestUbuntu
2012-11-07 05:14:45 +00:00
class Plugin < Vagrant.plugin("2")
name "Ubuntu guest"
description "Ubuntu guest support."
guest("ubuntu", "debian") do
require File.expand_path("../guest", __FILE__)
Guest
end
2013-04-04 06:53:17 +00:00
guest_capability("ubuntu", "change_host_name") do
# 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
end
end
end