forked from openshift/training
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:openshift/training
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
## Uninstallation | ||
|
||
During the beta period the preferred route of testing new beta code is to | ||
redeploy the host machines. We understand that is not always an automated | ||
process so if you simply want to prepare a previously used host to test another | ||
beta release these are the steps that can be followed: | ||
|
||
~~~ | ||
yum erase "*openshift*" | ||
# Erase all knowledge of the openshift units | ||
systemctl reset-failed | ||
systemctl daemon-reload | ||
# Remove data | ||
rm -rf /var/lib/openshift/ | ||
rm /etc/sysconfig/*openshift* | ||
# Remove all docker processes and images. This is not strictly required but | ||
# it's best to start from a clean slate. | ||
docker rm -f $(docker ps -a -q) | ||
docker rmi $(docker images -q) | ||
# Make sure you're running the latest RHEL 7.1 release | ||
yum update | ||
# This will clear the various virtual NICs | ||
reboot | ||
~~~ |