From 41d3e79187e575e3a263db28127344a5a5d76caf Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Fri, 12 Apr 2019 11:18:53 -0400 Subject: [PATCH] Add pause between stop/start on restart --- node-daemon/pvcd/DomainInstance.py | 1 + 1 file changed, 1 insertion(+) diff --git a/node-daemon/pvcd/DomainInstance.py b/node-daemon/pvcd/DomainInstance.py index 32a1ece3..daa5c804 100644 --- a/node-daemon/pvcd/DomainInstance.py +++ b/node-daemon/pvcd/DomainInstance.py @@ -185,6 +185,7 @@ class DomainInstance(object): return self.shutdown_vm() + time.sleep(1) self.start_vm() self.addDomainToList()