Revision aafb303d lib/objects.py
b/lib/objects.py | ||
---|---|---|
752 | 752 |
"hvparams", |
753 | 753 |
"beparams", |
754 | 754 |
"candidate_pool_size", |
755 |
"modify_etc_hosts", |
|
755 | 756 |
] |
756 | 757 |
|
758 |
def UpgradeConfig(self): |
|
759 |
"""Fill defaults for missing configuration values. |
|
760 |
|
|
761 |
""" |
|
762 |
if self.modify_etc_hosts is None: |
|
763 |
self.modify_etc_hosts = True |
|
764 |
|
|
757 | 765 |
def ToDict(self): |
758 | 766 |
"""Custom function for cluster. |
759 | 767 |
|
Also available in: Unified diff