Modify the matching pattern of guest os for amazon linux
This commit is contained in:
parent
eae5230b5d
commit
e99c47907f
|
@ -2,7 +2,7 @@ module VagrantPlugins
|
||||||
module GuestAmazon
|
module GuestAmazon
|
||||||
class Guest < Vagrant.plugin("2", :guest)
|
class Guest < Vagrant.plugin("2", :guest)
|
||||||
def detect?(machine)
|
def detect?(machine)
|
||||||
machine.communicate.test("grep 'Amazon Linux AMI' /etc/os-release")
|
machine.communicate.test("grep 'Amazon Linux' /etc/os-release")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue