Merge "Handling Luks filesystem"
This commit is contained in:
commit
2032f761ce
|
@ -2440,3 +2440,6 @@ RUNTIME_CONFIG_STATE_PENDING = "pending"
|
|||
RUNTIME_CONFIG_STATE_APPLIED = "applied"
|
||||
RUNTIME_CONFIG_STATE_FAILED = "failed"
|
||||
RUNTIME_CONFIG_STATE_RETRIED = "retried"
|
||||
|
||||
# LUKS vault type
|
||||
LUKS_VAULT_TYPE_NAME = "luks_encrypted_vault"
|
||||
|
|
|
@ -588,6 +588,9 @@ def is_system_usable_block_device(pydev_device):
|
|||
LOG.error("Invalid id_path. Device %s (%s) is iSCSI!" %
|
||||
(id_path, pydev_device.get('DEVNAME')))
|
||||
return False
|
||||
if pydev_device.get("VAULT_TYPE") == constants.LUKS_VAULT_TYPE_NAME:
|
||||
# Skip devices with the VAULT_TYPE for LUKS encryption
|
||||
return False
|
||||
return True
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue