guests/ubuntu: Use require_relative in plugin
This commit is contained in:
parent
fe9c506c4d
commit
07155ee62f
|
@ -7,13 +7,11 @@ module VagrantPlugins
|
||||||
description "Ubuntu guest support."
|
description "Ubuntu guest support."
|
||||||
|
|
||||||
guest("ubuntu", "debian") do
|
guest("ubuntu", "debian") do
|
||||||
require File.expand_path("../guest", __FILE__)
|
require_relative "guest"
|
||||||
Guest
|
Guest
|
||||||
end
|
end
|
||||||
|
|
||||||
guest_capability("ubuntu", "change_host_name") do
|
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"
|
|
||||||
require_relative "cap/change_host_name"
|
require_relative "cap/change_host_name"
|
||||||
Cap::ChangeHostName
|
Cap::ChangeHostName
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue