Merge pull request #9307 from wink-y/amazon-perform
Modify the matching pattern of guest os for amazon linux
This commit is contained in:
commit
f5888a4200
|
@ -2,7 +2,7 @@ module VagrantPlugins
|
|||
module GuestAmazon
|
||||
class Guest < Vagrant.plugin("2", :guest)
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue