Fix PREFIX calculation for attach_interface_to_ovs 97/22397/1
authorFeng Pan <fpan@redhat.com>
Fri, 23 Sep 2016 16:14:44 +0000 (12:14 -0400)
committerFeng Pan <fpan@redhat.com>
Fri, 23 Sep 2016 16:14:44 +0000 (12:14 -0400)
commitdd6bb69f77dda4d89876efd1524e907a1bf44748
tree9abcbf2cbf79684ba22722104544610c5c3e0058
parent1a04e9e2695244d0d56bb901b9c7c5284b759fbd
Fix PREFIX calculation for attach_interface_to_ovs

Make sure we only get number portion of PREFIX in ifcfg file, this
avoids getting potentially the double quotes around the prefix.

JIRA: APEX-163

Change-Id: Ia59a437927a75d9bb99efd324ccb5e4a5201c051
Signed-off-by: Feng Pan <fpan@redhat.com>
lib/common-functions.sh