Revision b86a6bcd lib/objects.py
b/lib/objects.py | ||
---|---|---|
735 | 735 |
"hvparams", |
736 | 736 |
"beparams", |
737 | 737 |
"candidate_pool_size", |
738 |
"modify_etc_hosts", |
|
738 | 739 |
] |
739 | 740 |
|
741 |
def UpgradeConfig(self): |
|
742 |
"""Fill defaults for missing configuration values. |
|
743 |
|
|
744 |
""" |
|
745 |
if self.modify_etc_hosts is None: |
|
746 |
self.modify_etc_hosts = True |
|
747 |
|
|
740 | 748 |
def ToDict(self): |
741 | 749 |
"""Custom function for cluster. |
742 | 750 |
|
Also available in: Unified diff