diff --git a/plugins/guests/ubuntu/plugin.rb b/plugins/guests/ubuntu/plugin.rb index ef56d063c..7a30be6d1 100644 --- a/plugins/guests/ubuntu/plugin.rb +++ b/plugins/guests/ubuntu/plugin.rb @@ -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