Permalink
Browse files

Merge branch 'master' of github.com:yahoo/Openstack-DevstackPy

  • Loading branch information...
2 parents 0dd2895 + 0498652 commit 251d31ebff03dff61b600535d00e0e1a085934bd Joshua Harlow committed Feb 8, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 devstack/components/nova.py
@@ -195,6 +195,11 @@ class NovaUninstaller(comp.PythonUninstallComponent):
def __init__(self, *args, **kargs):
comp.PythonUninstallComponent.__init__(self, TYPE, *args, **kargs)
+ def pre_uninstall(self):
+ LOG.info("Cleaning up iptables")
+ cmd = ["utils/clean_iptables.sh"]
+ sh.execute(*cmd, run_as_root=True)
+
class NovaInstaller(comp.PythonInstallComponent):
def __init__(self, *args, **kargs):

0 comments on commit 251d31e

Please sign in to comment.