lib/vagrant-vyatta/guest.rb in vagrant-vyatta-0.0.3 vs lib/vagrant-vyatta/guest.rb in vagrant-vyatta-0.0.4
- old
+ new
@@ -4,10 +4,10 @@
module VagrantPlugins
module GuestVyatta
class Guest < VagrantPlugins::GuestDebian::Guest
def detect?(machine)
- machine.communicate.test("cat /etc/issue | grep 'Vyatta'")
+ machine.communicate.test("cat /etc/issue | grep -e 'Vyatta' -e 'VyOS'")
end
end
end
end