* Linux Mint is a popular distribution based on Ubuntu * When creating a VM based on Linux Mint, it cannot detect that it is based on Ubuntu and it is detected as just linux and configure_networks fails * https://github.com/mitchellh/vagrant/issues/3647
14 lines
304 B
Ruby
14 lines
304 B
Ruby
require "vagrant"
|
|
|
|
require Vagrant.source_root.join("plugins/guests/ubuntu/guest")
|
|
|
|
module VagrantPlugins
|
|
module GuestMint
|
|
class Guest < VagrantPlugins::GuestUbuntu::Guest
|
|
def detect?(machine)
|
|
machine.communicate.test("cat /etc/issue | grep 'Linux Mint'")
|
|
end
|
|
end
|
|
end
|
|
end
|