Fix PREFIX calculation for attach_interface_to_ovs 63/22463/1
authorFeng Pan <fpan@redhat.com>
Fri, 23 Sep 2016 16:14:44 +0000 (12:14 -0400)
committerFeng Pan <fpan@redhat.com>
Mon, 26 Sep 2016 18:55:50 +0000 (18:55 +0000)
commita151bf4b58bb83753f5d4de7f34a6f77c61d87ed
tree1cb876e6c478b8de099a2bd4191dc49225150a3d
parent4282687699d38e4be4b39f8397f78768899ac17c
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>
(cherry picked from commit dd6bb69f77dda4d89876efd1524e907a1bf44748)
lib/common-functions.sh