[Spacewalk-list] Kickstart Snippet Not Working After 2.1->2.2 Upgrade

Tom Degroote tom.degroote at tuxconsult.be
Tue Aug 19 19:26:55 UTC 2014


Maybe this post can help you. It seems that cobbler doesn't replace the snippets when there is an error in it.

https://www.redhat.com/archives/spacewalk-list/2014-August/msg00001.html

Regards,

Tom Degroote
________________________________________
From: spacewalk-list-bounces at redhat.com [spacewalk-list-bounces at redhat.com] on behalf of Wojtak, Greg [GregWojtak at quickenloans.com]
Sent: Tuesday, August 19, 2014 8:01 PM
To: spacewalk-list at redhat.com
Subject: [Spacewalk-list] Kickstart Snippet Not Working After 2.1->2.2  Upgrade

I upgraded our spacewalk server from 2.1 to 2.2.  After the upgrade, an existing CentOS 6 Kickstart profile we had that was known to work previously started having issues.  The main one remaining is we are getting the following errors in during the post-install section (recorded in the log):

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.
/tmp/ks-script-srcUGc: line 141: syntax error near unexpected token `'post_install_network_config''
/tmp/ks-script-srcUGc: line 141: `$SNIPPET('post_install_network_config')'

It almost looks like what happens when I forget to check the “Template” box for my post scripts.

Anyone have any ideas how to fix this?  I saw the symptoms of this when I created a CentOS 7 kickstart, though I never saw this error.  The network did not get configured properly, and I’m guessing it is because of this same error.


Thanks!

Greg


_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list