[Spacewalk-list] Remove MOTD

Jens Kuehnel spacewalk at jens.kuehnel.org
Thu Feb 17 13:51:42 UTC 2011


Hi,

> At the moment we do a workaround for all Customers, we put just a one
time action script in to the
> /etc/rc.local of the System, which will do repair the /etc/motd.
We did a little bit different, but still an ugly hack.

sed --in-place=.bak '/^# MOTD/,/# end of generated kickstart file/d'
/tmp/ks.cfg

This way it is never executed :-)

CU
Jens

RHCA,RHCE,inactive RHCX




More information about the Spacewalk-list mailing list