mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-07-15 20:06:30 -04:00
Recognize new Fedora releases
This commit is contained in:
parent
261ef836e0
commit
b85248cb97
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ module VagrantPlugins
|
|||
module GuestFedora
|
||||
class Guest < Vagrant.plugin("2", :guest)
|
||||
def detect?(machine)
|
||||
machine.communicate.test("grep 'Fedora release [12][678901]' /etc/redhat-release")
|
||||
machine.communicate.test("grep 'Fedora release 1[6789]\\|Fedora release 2[0-9]' /etc/redhat-release")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue