Skip to content

Commit

Permalink
Merge pull request #506 from timhughes/master
Browse files Browse the repository at this point in the history
update to allow working with vagrant-libvirt
  • Loading branch information
mizzy committed Feb 26, 2015
2 parents fae1e5a + 47a7dae commit 6035fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/serverspec/setup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6035fdf

Please sign in to comment.