mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-06-27 10:45:37 -04:00
config/scheme: add Profile.encryption and Profile.encryption_password
This commit is contained in:
parent
686191c388
commit
df4a60620c
2 changed files with 4 additions and 0 deletions
|
@ -15,6 +15,8 @@ PROFILE_DEFAULTS_DICT = {
|
|||
'username': 'kupfer',
|
||||
'password': None,
|
||||
'size_extra_mb': "0",
|
||||
'encryption': None,
|
||||
'encryption_password': None,
|
||||
}
|
||||
PROFILE_DEFAULTS = Profile.fromDict(PROFILE_DEFAULTS_DICT)
|
||||
|
||||
|
|
|
@ -17,6 +17,8 @@ class SparseProfile(DictScheme):
|
|||
username: Optional[str]
|
||||
password: Optional[str]
|
||||
size_extra_mb: Optional[Union[str, int]]
|
||||
encryption: Optional[bool]
|
||||
encryption_password: Optional[str]
|
||||
|
||||
def __repr__(self):
|
||||
return f'{type(self)}{dict.__repr__(self.toDict())}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue