On Fri, Jul 12, 2013 at 09:19:57AM +0800, Xu Wang wrote:
Default network card name was set as 'eth1' or 'em1'.
But when os has no network card named like that, FAIL
would occured. This patch added check if default name exists in the network card list and
if not, change
the default value into the 1st one in the list.
Signed-off-by: Xu Wang <cngesaint(a)gmail.com>
---
.../27_definesystem_macvtap_dev.py | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
Looks reasonnable, pushed, thanks !
Daniel
--
Daniel Veillard | Open Source and Standards, Red Hat
veillard(a)redhat.com | libxml Gnome XML XSLT toolkit
http://xmlsoft.org/
http://veillard.com/ | virtualization library
http://libvirt.org/