Skip to content

Instantly share code, notes, and snippets.

@ryanj
Forked from detiber/gist:e0bd051fe7e2faf0a893
Last active August 29, 2015 14:20
Show Gist options
  • Save ryanj/67af352fb5d0e220937c to your computer and use it in GitHub Desktop.
Save ryanj/67af352fb5d0e220937c to your computer and use it in GitHub Desktop.
Reset / reconfigure an OSv3 system
#!/bin/bash
systemctl stop openshift-master openshift-node openshift-sdn-master openshift-sdn-node docker openvswitch
rm -rf /var/lib/openshift/* /etc/openshift/ /root/.config/openshift ~<ssh user>/.config/openshift /etc/ansible/facts.d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment