Update plugins/hosts/arch/host.rb
Co-authored-by: Sophia Castellarin <sophia@hashicorp.com>
This commit is contained in:
parent
0ee7eb338f
commit
157a182ec7
@ -4,7 +4,7 @@ module VagrantPlugins
|
||||
module HostArch
|
||||
class Host < Vagrant.plugin("2", :host)
|
||||
def detect?(env)
|
||||
File.exist?("/etc/arch-release") and not File.exist?("/etc/artix-release")
|
||||
File.exist?("/etc/arch-release") && !File.exist?("/etc/artix-release")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user