mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-18 19:20:08 +02:00
fix virsh destroy parameters
This commit is contained in:
parent
4347c10d9d
commit
d180aa2658
@ -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…
Reference in New Issue
Block a user