refactor(schema): rename nested dict keys and simplify validation
This commit is contained in:
@@ -11,7 +11,7 @@ hypervisor_defaults:
|
||||
storage: ""
|
||||
datacenter: ""
|
||||
cluster: ""
|
||||
validate_certs: false
|
||||
certs: false
|
||||
ssh: false
|
||||
|
||||
custom_iso: false
|
||||
@@ -20,7 +20,7 @@ thirdparty_preparation_tasks_path: "dropins/preparation.yml"
|
||||
system_defaults:
|
||||
type: "virtual" # virtual|physical
|
||||
os: ""
|
||||
os_version: ""
|
||||
version: ""
|
||||
name: ""
|
||||
id: ""
|
||||
cpus: 0
|
||||
@@ -40,27 +40,28 @@ system_defaults:
|
||||
user:
|
||||
name: ""
|
||||
password: ""
|
||||
public_key: ""
|
||||
key: ""
|
||||
root:
|
||||
password: ""
|
||||
luks:
|
||||
enabled: false
|
||||
passphrase: ""
|
||||
mapper_name: "SYSTEM_DECRYPTED"
|
||||
auto_decrypt: true
|
||||
auto_decrypt_method: "tpm2"
|
||||
tpm2_device: "auto"
|
||||
tpm2_pcrs: ""
|
||||
keyfile_size: 64
|
||||
mapper: "SYSTEM_DECRYPTED"
|
||||
auto: true
|
||||
method: "tpm2"
|
||||
tpm2:
|
||||
device: "auto"
|
||||
pcrs: ""
|
||||
keysize: 64
|
||||
options: "discard,tries=3"
|
||||
type: "luks2"
|
||||
cipher: "aes-xts-plain64"
|
||||
hash: "sha512"
|
||||
iter_time: 4000
|
||||
key_size: 512
|
||||
iter: 4000
|
||||
bits: 512
|
||||
pbkdf: "argon2id"
|
||||
use_urandom: true
|
||||
verify_passphrase: true
|
||||
urandom: true
|
||||
verify: true
|
||||
features:
|
||||
cis:
|
||||
enabled: false
|
||||
|
||||
Reference in New Issue
Block a user