Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Script to uninstall Openstack (all-in-1)

  • Loading branch information...
commit 1ba381757cff9e44020bc4e1a4225ae1b883356e 1 parent 88024b5
@alobbs authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 OS-uninstall_allin1.py
View
11 OS-uninstall_allin1.py
@@ -0,0 +1,11 @@
+#!/usr/bin/env python
+# -*- mode: python; coding: utf-8 -*-
+
+import os
+from os import system as run
+
+# Uninstall packages
+run ('yum remove -y "*openstack*" "*nova*" "*keystone*" "*glance*" "*cinder*" "*swift*" mysql mysql-server httpd')
+
+# Clean up
+run ('rm -rf /var/lib/mysql/ /var/lib/nova /etc/nova /etc/swift')
Please sign in to comment.
Something went wrong with that request. Please try again.