Merge pull request #9307 from wink-y/amazon-perform

Modify the matching pattern of guest os for amazon linux
This commit is contained in:
Chris Roberts 2018-01-12 13:08:01 -08:00 committed by GitHub
commit f5888a4200
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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