Don't run network stop script when doing xend stop.

It doesn't make sense to undo the network configuration when stopping
xend since that would cut off all VMs from the network.  Undoing the
network setup should be an option independent of xend stop.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
This commit is contained in:
chris@ubuntu.eng.hq.xensource.com committed 2005-10-24 19:04:30 -07:00
1 parent 9b6fdc5d38
commit be8604faf3
1 file changed
+1 -4
+1 -4
View File
@@ -262,10 +262,7 @@ class Daemon:
return 1
def stop(self):
result = self.cleanup_xend(True)
from xen.xend import Vifctl
Vifctl.network("stop")
return result
return self.cleanup_xend(True)
def run(self, status):
try:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.