Daniele Penazzo 157a182ec7
Update plugins/hosts/arch/host.rb
Co-authored-by: Sophia Castellarin <sophia@hashicorp.com>
2023-01-24 07:46:24 +01:00

12 lines
233 B
Ruby

require "vagrant"
module VagrantPlugins
module HostArch
class Host < Vagrant.plugin("2", :host)
def detect?(env)
File.exist?("/etc/arch-release") && !File.exist?("/etc/artix-release")
end
end
end
end