Fixes bug with interface detection 21/1321/3
authorTim Rozet <trozet@redhat.com>
Wed, 26 Aug 2015 20:00:40 +0000 (16:00 -0400)
committerTim Rozet <trozet@redhat.com>
Fri, 28 Aug 2015 16:51:44 +0000 (12:51 -0400)
commit24f395d3bf5b6bf3c123a152cae044d156b7a7d9
treedb7a4d4e9f7297cc49886a4607260cec4d9e907d
parentcdd5f89faafee6347671ae0a386ad3a78905610f
Fixes bug with interface detection

This patch addresses the detection of the physical NICs to bridge to.
There was a bug where the regexp would ignore some NICs on accident, and
the purpose of the expression was to ignore virtual NICs.  Rather than
ignore NICs by their name, this patch ensures that NICs are ignored if
they are actually virtual types.

Also fixes syntax issue with checking for nic_arg_flag.

JIRA: APEX-11

Change-Id: Ibd965c454faab1d751e3ce0b260eabc7fbe7c720
Signed-off-by: Tim Rozet <trozet@redhat.com>
foreman/ci/deploy.sh