guests/ubuntu: Use require_relative in plugin

This commit is contained in:
Seth Vargo 2016-06-06 11:37:56 -04:00
parent fe9c506c4d
commit 07155ee62f
No known key found for this signature in database
GPG Key ID: 905A90C2949E8787
1 changed files with 1 additions and 3 deletions

View File

@ -7,13 +7,11 @@ module VagrantPlugins
description "Ubuntu guest support."
guest("ubuntu", "debian") do
require File.expand_path("../guest", __FILE__)
require_relative "guest"
Guest
end
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"
Cap::ChangeHostName
end