Fix the regex else vtest-init-vserver.sh generates following file
authorS.Çağlar Onur <caglar@cs.princeton.edu>
Thu, 14 Jan 2010 22:41:50 +0000 (22:41 +0000)
committerS.Çağlar Onur <caglar@cs.princeton.edu>
Thu, 14 Jan 2010 22:41:50 +0000 (22:41 +0000)
commit6b90efd88093c9dd55453f22884e066be5377c51
treeed0c473a69315829ba11453aa0886d716faed3f7
parent05eef1196fa9a6843b2f11ba376bf82f47712d72
Fix the regex else vtest-init-vserver.sh generates following file

# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
exclude=kernel kernel-vserver kernel-devel kernel-headers kernel-debuginfo util-vserver* iptables iproute drupal inotify-tools* libnl
# remarked out baseurl= line instead.
#
#
[...]

and fails;

[...]
Loaded plugins: fastestmirror
Config Error: File contains no section headers.
file: file://///etc/yum.repos.d/CentOS-Base.repo, line: 9
'exclude=kernel kernel-vserver kernel-devel kernel-headers kernel-debuginfo util-vserver* iptables iproute drupal inotify-tools* libnl\n'
++ failure
++ echo 'vtest-init-vserver.sh : Bailing out'
vtest-init-vserver.sh : Bailing out
++ exit 1
build.common