From 619ba5277904b846ffddac392b782790bb50da47 Mon Sep 17 00:00:00 2001 From: Tim Hughes Date: Wed, 25 Feb 2015 16:04:28 +0000 Subject: [PATCH] update to allow working with vagrant-libvirt --- lib/serverspec/setup.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/serverspec/setup.rb b/lib/serverspec/setup.rb index 13dea16a..67678b9e 100644 --- a/lib/serverspec/setup.rb +++ b/lib/serverspec/setup.rb @@ -220,7 +220,7 @@ def self.auto_vagrant_configuration list_of_vms = [] if vagrant_list != '' vagrant_list.each_line do |line| - if match = /([\w-]+[\s]+)(created|aborted|not created|poweroff|running|saved)[\s](\(virtualbox\)|\(vmware\)|\(vmware_fusion\))/.match(line) + if match = /([\w-]+[\s]+)(created|aborted|not created|poweroff|running|saved)[\s](\(virtualbox\)|\(vmware\)|\(vmware_fusion\)|\(libvirt\))/.match(line) list_of_vms << match[1].strip! end end