Created
June 29, 2020 05:05
-
-
Save identifysun/2ca75e2a2cd607edcb1d064043581b45 to your computer and use it in GitHub Desktop.
How to fix AWS or Azure SUSE cloud instance missing software repositories
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```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