Use both "keep" and "keep_data" for 6.1 compatibility
Change-Id: I833fafaf8b21df1fa031913a5287d02bd697ae24
This commit is contained in:
parent
4125bcc2c5
commit
bb3ad1429d
@ -16,6 +16,9 @@ def preserve_partition(node, partition):
|
||||
for disk in disks:
|
||||
for vol in disk['volumes']:
|
||||
if vol['name'] == partition:
|
||||
vol.update({'keep_data': True})
|
||||
vol.update({
|
||||
'keep': True,
|
||||
'keep_data': True,
|
||||
})
|
||||
|
||||
node.upload_node_attribute('disks', disks)
|
||||
|
Loading…
Reference in New Issue
Block a user