Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save identifysun/2ca75e2a2cd607edcb1d064043581b45 to your computer and use it in GitHub Desktop.
Save identifysun/2ca75e2a2cd607edcb1d064043581b45 to your computer and use it in GitHub Desktop.
How to fix AWS or Azure SUSE cloud instance missing software repositories
```bash
# rm /etc/SUSEConnect
# rm -f /etc/zypp/{repos,services,credentials}.d/*
# rm -f /usr/lib/zypp/plugins/services/*
# sed -i '/^# Added by SMT reg/,+1d' /etc/hosts
# /usr/sbin/registercloudguest --force-new
```
## Reference
* https://www.suse.com/de-de/support/kb/doc/?id=000019085
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment