diff --git a/plugins/guests/mint/guest.rb b/plugins/guests/mint/guest.rb index 5feb33849..afaf94c15 100644 --- a/plugins/guests/mint/guest.rb +++ b/plugins/guests/mint/guest.rb @@ -1,10 +1,8 @@ require "vagrant" -require Vagrant.source_root.join("plugins/guests/ubuntu/guest") - module VagrantPlugins module GuestMint - class Guest < VagrantPlugins::GuestUbuntu::Guest + class Guest < Vagrant.plugin("2", :guest) def detect?(machine) machine.communicate.test("cat /etc/issue | grep 'Linux Mint'") end diff --git a/plugins/guests/ubuntu/guest.rb b/plugins/guests/ubuntu/guest.rb index eb468b174..9e9a9a9ad 100644 --- a/plugins/guests/ubuntu/guest.rb +++ b/plugins/guests/ubuntu/guest.rb @@ -1,10 +1,8 @@ require "vagrant" -require Vagrant.source_root.join("plugins/guests/debian/guest") - module VagrantPlugins module GuestUbuntu - class Guest < VagrantPlugins::GuestDebian::Guest + class Guest < Vagrant.plugin("2", :guest) def detect?(machine) machine.communicate.test("cat /etc/issue | grep 'Ubuntu'") end