Description of problem:
If ifcfg-eth0 had been removed or changed to another NIC before changed back to virtio NIC in a rhel5.5 guest, it ended up ifcfg-eth0 was not re-generated.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. remove /etc/sysconfig/network-scripts/ifcfg-eth0
2. reboot the guest
eth0 is up
I think the real problem is the sequence,
1) remove ifcfg-eth0 under virtio NIC
2) change the NIC to other NICs (like e1000) and reboot
3) change the NIC to virtio NIC and reboot
In rhel4.8, kudzu detected the change and re-generated ifcfg-eth0 in both 2) and 3). In rhel5.5, it only generated it in 2).
Oops, looks like e1000 behaviour the same. Although this is a different behaviour with rhel4.8, I am fine with the new behaviour.