SUSE Manager/BootstrapOnServer

From MicroFocusInternationalWiki
Jump to: navigation, search

SUSE Manager Main Page

Executed bootstrap.sh by mistake

I executed the bootstrap script on a system by mistake. How do I clean this up?

This is also covered by a TID

On a SUSE Manager Server

1.
zypper rm zypp-plugin-spacewalk
2. Edit
/etc/suseRegister.conf
and clear out everything after the "Url =" in line one

3. Remove everything in the following directories:

   /var/cache/zypp/
   /etc/zypp/credentials.d/
   /etc/zypp/repos.d/
   /etc/zypp/services.d/

4. Re-register your SUSE Manager server with NCC:

   yast inst_suse_register


That should do it for you - with no harm done. You will also want to delete the profile in the webUI of your SUSE Manager server.

On a SUSE Manager Client

1.
zypper rm zypp-plugin-spacewalk spacewalk-backend-libs spacewalk-client-tools rhnlib
2.
rm -r /etc/zypp/repos.d/* /var/cache/zypp/* /etc/zypp/credentials.d/* /etc/sysconfig/rhn/
3. Use
yast2 inst_suse_register / suse_register
to activate the system against the NCC.