guests/mint: don't need to inherit from ubuntu class
This commit is contained in:
parent
9e5fffb7f1
commit
9d2d4b9675
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue