Merge "nfs: Fix snapshot creation for encrypted volumes with qemu-img 6.1+"
This commit is contained in:
@@ -1651,6 +1651,7 @@ class RemoteFSSnapDriverBase(RemoteFSDriver):
|
||||
'encrypt.cipher-alg=%(cipher_alg)s,'
|
||||
'encrypt.cipher-mode=%(cipher_mode)s,'
|
||||
'encrypt.ivgen-alg=%(ivgen_alg)s' % cipher_spec,
|
||||
'-F', 'qcow2',
|
||||
'-b', 'json:' + file_json,
|
||||
'--object', 'secret,id=s0,file=' + tmp_key.name,
|
||||
'--object', 'secret,id=s1,file=' + tmp_key.name,
|
||||
|
||||
Reference in New Issue
Block a user