Merge pull request #2742 from ryansb/FedoraDetection
Correctly detect fedora 19 and 20
This commit is contained in:
commit
5843c869c2
|
@ -4,7 +4,7 @@ module VagrantPlugins
|
||||||
module GuestFedora
|
module GuestFedora
|
||||||
class Guest < Vagrant.plugin("2", :guest)
|
class Guest < Vagrant.plugin("2", :guest)
|
||||||
def detect?(machine)
|
def detect?(machine)
|
||||||
machine.communicate.test("grep 'Fedora release 1[678]' /etc/redhat-release")
|
machine.communicate.test("grep 'Fedora release [12][67890]' /etc/redhat-release")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue