Class: VagrantPlugins::GuestAtomic::Guest
- Inherits:
-
Object
- Object
- VagrantPlugins::GuestAtomic::Guest
- Defined in:
- lib/vagrant-atomic/guest.rb
Instance Method Summary collapse
Instance Method Details
#detect?(machine) ⇒ Boolean
6 7 8 9 10 11 12 13 14 |
# File 'lib/vagrant-atomic/guest.rb', line 6 def detect?(machine) # For now we use this non 100% bullet proof solution. # Bugs issued to include word atomic in upstream releases # Centos: http://bugs.centos.org/view.php?id=8288 # Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1200122 # # machine.communicate.test("cat /etc/os-release | grep Atomic") machine.communicate.test("which rpm-ostree") end |