mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-08 23:23:23 -06:00
diskbackend: Fix pool 'create' call (bz 1103442)
This commit is contained in:
parent
f686e36e42
commit
809c5a81e5
@ -88,7 +88,7 @@ def check_if_path_managed(conn, path):
|
||||
|
||||
# Ensure pool is running
|
||||
if pool and pool.info()[0] != libvirt.VIR_STORAGE_POOL_RUNNING:
|
||||
pool.start()
|
||||
pool.create(0)
|
||||
|
||||
# Attempt to lookup path as a storage volume
|
||||
if pool and not vol:
|
||||
|
Loading…
Reference in New Issue
Block a user