[Spacewalk-list] Spacewalk 1.4 RC Kickstart, up2date Perl Script Error

Trevor T Kates trevor.t.kates at dom.com
Fri Apr 22 14:17:31 UTC 2011


List:

Spacewalk Ver: 1.4 RC
OS Ver: CentOS 5.6

When kickstarting a machine using a profile created under Spacewalk 1.4 RC, the
attached perl error is generated by the following perl program:

perl -npe 's|^(\s*(noSSLS|s)erverURL\s*=\s*[^:]+://)[^/]*/|${1}spacewalk.example.com/|' -i /etc/sysconfig/rhn/up2date

It appears that the | in the group match (noSSLS|s) has to be escaped for the
regex to work. If any additional information is needed, please let me know.

Thanks.

_______________________________________________________________________________
Trevor T. Kates

Umatched ( in regex; marked by <-- HERE in m/^(\s*( <-- HERE noSSLS/ at -e line 1

CONFIDENTIALITY NOTICE:  This electronic message contains
information which may be legally confidential and/or privileged and
does not in any case represent a firm ENERGY COMMODITY bid or offer
relating thereto which binds the sender without an additional
express written confirmation to that effect.  The information is
intended solely for the individual or entity named above and access
by anyone else is unauthorized.  If you are not the intended
recipient, any disclosure, copying, distribution, or use of the
contents of this information is prohibited and may be unlawful.  If
you have received this electronic transmission in error, please
reply immediately to the sender that you have received the message
in error, and delete it.  Thank you.




More information about the Spacewalk-list mailing list