plugins/guests/fedora/guest.rb in vagrant-registration-0.0.12 vs plugins/guests/fedora/guest.rb in vagrant-registration-0.0.13
- old
+ new
@@ -2,10 +2,10 @@
module VagrantPlugins
module GuestFedora
class Guest < Vagrant.plugin("2", :guest)
def detect?(machine)
- machine.communicate.test("grep 'Fedora release [12][67890]' /etc/redhat-release")
+ machine.communicate.test("grep 'Fedora release 1[6789]\\|Fedora release 2[0-9]' /etc/redhat-release")
end
end
end
end