Updated sleep time after starting libvirt-bin
This commit is contained in:
parent
3d41f89186
commit
ef7ebc5d2e
@ -156,7 +156,7 @@ def restart_pg():
|
|||||||
raise ValueError("plumgrid service couldn't be started")
|
raise ValueError("plumgrid service couldn't be started")
|
||||||
else:
|
else:
|
||||||
if service_start('libvirt-bin'):
|
if service_start('libvirt-bin'):
|
||||||
time.sleep(3)
|
time.sleep(5)
|
||||||
if not service_running('plumgrid') \
|
if not service_running('plumgrid') \
|
||||||
and not service_start('plumgrid'):
|
and not service_start('plumgrid'):
|
||||||
raise ValueError("plumgrid service couldn't be started")
|
raise ValueError("plumgrid service couldn't be started")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user