From 9d2d4b967568be00b8f5a573857cf319488778f2 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 6 May 2014 12:50:35 -0700 Subject: [PATCH] guests/mint: don't need to inherit from ubuntu class --- plugins/guests/mint/guest.rb | 4 +--- plugins/guests/ubuntu/guest.rb | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) 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