java/code/src/com/redhat/rhn/manager/kickstart/KickstartFormatter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 502ccf36baae45950825ed75141837a25570d7b3 Author: Jan Pazdziora jpazdziora@redhat.com Date: Wed Oct 26 13:18:52 2011 +0200
Doing replacement on all files is not nice.
Addressing Can't do inplace edit: /etc/sysconfig/rhn/allowed-actions is not a regular file. Can't do inplace edit: /etc/sysconfig/rhn/clientCaps.d is not a regular file.
diff --git a/java/code/src/com/redhat/rhn/manager/kickstart/KickstartFormatter.java b/java/code/src/com/redhat/rhn/manager/kickstart/KickstartFormatter.java index 8dbd68e..6725be1 100644 --- a/java/code/src/com/redhat/rhn/manager/kickstart/KickstartFormatter.java +++ b/java/code/src/com/redhat/rhn/manager/kickstart/KickstartFormatter.java @@ -924,7 +924,7 @@ public class KickstartFormatter { retval.append("cat /tmp/ssl-key-* > /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT" + NEWLINE); retval.append("perl -pe 's/RHNS-CA-CERT/RHN-ORG-TRUSTED-SSL-CERT/g' " + - "-i /etc/sysconfig/rhn/*" + NEWLINE); + "-i /etc/sysconfig/rhn/up2date" + NEWLINE);
return retval.toString(); }
spacewalk-commits@lists.fedorahosted.org