plugins/guests/fedora/guest.rb in vagrant-unbundled-2.2.14.0 vs plugins/guests/fedora/guest.rb in vagrant-unbundled-2.2.16.0
- old
+ new
@@ -1,11 +1,11 @@
require "vagrant"
+require_relative '../linux/guest'
module VagrantPlugins
module GuestFedora
- class Guest < Vagrant.plugin("2", :guest)
- def detect?(machine)
- machine.communicate.test("grep 'Fedora release' /etc/redhat-release")
- end
+ class Guest < VagrantPlugins::GuestLinux::Guest
+ # Name used for guest detection
+ GUEST_DETECTION_NAME = "fedora".freeze
end
end
end