Parallels Desktop で、仮想マシン(Cent)を複製し、新規仮想マシンを作成すると、
eth0 が上がらない。
ifconfig -a で見ると、eth1 があるが、IPアドレスは付与されていない。
コピー元では、DHCPで設定されるようにしている。
service network restart すると
Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization.
[FAILED]
と表示された。
対応方法
/etc/udev/rules.d/70-persistent-net.rules に、
# PCI device 0x1af4:0x1000 (virtio-pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1c:42:17:af:c6", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x1af4:0x1000 (virtio-pci)