guests/mint: don't need to inherit from ubuntu class

This commit is contained in:
Mitchell Hashimoto 2014-05-06 12:50:35 -07:00
parent 9e5fffb7f1
commit 9d2d4b9675
2 changed files with 2 additions and 6 deletions

View File

@ -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

View File

@ -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