You are here

howto: spacewalk server configuration refresh

i have recently begun to experiment with spacewalk. and when i experiment i like to build then tear down to rebuild again and again. so i went off on an exploratory trip and brought back some results

to do a proper cleanup, issue the following commands:

/usr/sbin/spacewalk-service stop
yum -y erase `rpm -qa | grep rhn-org`
rm -rf /root/ssl-build*
rm -rf /var/www/html/pub/*pub
spacewalk-setup --disconnected --answer-file=file.answer # this will ask you whether to clear the schema


spacewalk-setup expects to find the answer file in the working directory it doesnt accept a path in its parameter