Skip to content

Commit

Permalink
Add -an flags to arp availablity check in the kvm provider
Browse files Browse the repository at this point in the history
  • Loading branch information
jordant committed Aug 6, 2014
1 parent b774a7b commit f8032cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/veewee/provider/kvm/provider.rb
Expand Up @@ -46,7 +46,7 @@ def check_requirements
conn.pools.any? or raise Veewee::Error, "You need at least one (active) storage pool defined in #{Fog.credentials[:libvirt_uri]}."

env.logger.info "Checking availability of the arp utility"
shell_exec("arp").status.zero? or raise Veewee::Error, "Could not execute the arp command. This is required to find the IP address of the VM"
shell_exec("arp -an").status.zero? or raise Veewee::Error, "Could not execute the arp command. This is required to find the IP address of the VM"

end

Expand Down

0 comments on commit f8032cc

Please sign in to comment.