do not delete volumes from images pool
This commit is contained in:
parent
baa511f678
commit
197e272f3e
@ -788,6 +788,12 @@ class Instance:
|
||||
disk.source,
|
||||
)
|
||||
continue
|
||||
if volume.storagePoolLookupByVolume().name() == 'images':
|
||||
log.info(
|
||||
'Volume %s skipped because it is from images pool',
|
||||
volume.path(),
|
||||
)
|
||||
continue
|
||||
log.info('Delete volume: %s', volume.path())
|
||||
volume.delete()
|
||||
log.info('Undefine instance')
|
||||
|
Loading…
Reference in New Issue
Block a user