Remove generated network rules on instance import
authorGuido Trotter <ultrotter@google.com>
Fri, 11 Jan 2008 12:07:52 +0000 (12:07 +0000)
committerGuido Trotter <ultrotter@google.com>
Fri, 11 Jan 2008 12:07:52 +0000 (12:07 +0000)
commit709aef2cf8369097d6345bd930b5df6bf744f9f9
tree1a98da562aafc4371de62f1f3a5924cb0e2c6340
parent574df8eadcb31a5e3d0e3375bb12cf176979c27e
Remove generated network rules on instance import

udev generates rules to maintain the order of the network interfaces stable.
When importing an instance, though, its mac address may change, and networking
be broken. This patch removes the generated network rules file, making udev
create a new one after the first boot of an imported instance. This issue was
first spotted by Gunnar Wagenknecht.

Reviewed-by: iustinp
import