The network_entry_redhat.erb template is missing the DEVICE key. ifup command fails when there are multiple NICS in the system (host-only networking in boxes). Looks like adding:
DEVICE=eth<%= net_options[:adapter] %>
to network_entry_redhat.erb fixes the issue.
Vagrant host CentOS 5
Vagrant boxes based on CentOS 5
[v2v] Running any VM customizations...
[v2v] Clearing any previously set forwarded ports...
[v2v] Forwarding ports...
[v2v] -- ssh: 22 => 2222 (adapter 1)
[v2v] Creating shared folders metadata...
[v2v] Preparing host only network...
[v2v] Creating new host only network for environment...
[v2v] Booting VM...
[v2v] Waiting for VM to boot. This can take a few minutes.
[v2v] VM booted and ready for use!
[v2v] Enabling host only network...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
sudo /sbin/ifup eth1
The output of the command prior to failing is outputted below:
Usage: arping [-fqbDUAV] [-c count] [-w timeout] [-I device] [-s source] destination
-f : quit on first reply
-q : be quiet
-b : keep broadcasting, don't go unicast
-D : duplicate address detection mode
-U : Unsolicited ARP mode, update your neighbours
-A : ARP answer mode, update your neighbours
-V : print version and exit
-c count : how many packets to send
-w timeout : how long to wait for a reply
-I device : which ethernet device to use (eth0)
-s source : source ip address
destination : ask for what ip address
Error, some other host already uses address 10.0.0.3.
Thanks, I've taken into account your change and I will push it shortly.
Added DEVICE option to RedHat host only networking template. [GH-382]
This allows the networking to work even when the VM has multiple adapters.