Updated sleep time after starting libvirt-bin
This commit is contained in:
parent
02ace9b018
commit
13e3230cc5
|
@ -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…
Reference in New Issue