I have two computers which are supposed to be identical hardware. However on one machine, the ethernet port shows up as "eth1" whereas on the other it appears as "eth2".
I am trying to manage an Ubuntu image to work on both of these machines, but the
/etc/network/interfaces config file needs to be configured differently on each.
One solution would be to just put both ethernet port names in the config file. This works, in that it gives me an ethernet connection, but having an incorrect port in the config file causes a long delay (>1minute) in the failsafe boot delay upstart job.
Is there some way I can let it detect which port to use automatically?