from .. import print_section_start, print_section_end
from ..xlate import XLATOR
-__version__ = '0.2.0'
+__version__ = '0.2.1'
LOG = logging.getLogger(__name__)
'/var/log/wtmp',
'/var/log/vmware-*.log*',
'/var/log/yum*.log',
+ '/var/log/rhsm/*.log'
)
cmd = textwrap.dedent("""\
fi
done
+ if [ -x /sbin/subscription-manager ] ; then
+ echo
+ echo "Unregistring current host from Red Hat Subscription Management ..."
+ /sbin/subscription-manager unregister --no-progress-messages
+ sleep 2
+ fi
+
+ echo
for f in @@@LOGFILES@@@ ; do
if [ -f "${f}" ] ; then
echo "Truncating ${f} ..."