mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 07:22:29 +03:00
fix virsh destroy parameters
This commit is contained in:
parent
4347c10d9d
commit
d180aa2658
1 changed files with 2 additions and 2 deletions
|
@ -144,8 +144,8 @@ class LibvirtBuildVm(FDroidBuildVm):
|
|||
# this is way more easy and therefore fault tolerant.
|
||||
# (eg. lookupByName only works on running VMs)
|
||||
try:
|
||||
logger.debug('virsh -c qemu:///system destroy', self.srvname)
|
||||
subprocess.check_call(('virsh', '-c', 'qemu:///system', 'destroy'))
|
||||
logger.debug('virsh -c qemu:///system destroy %s', self.srvname)
|
||||
subprocess.check_call(('virsh', '-c', 'qemu:///system', 'destroy', self.srvname))
|
||||
logger.info("...waiting a sec...")
|
||||
time.sleep(10)
|
||||
except subprocess.CalledProcessError as e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue