Commit 6d79896b authored by Guido Trotter's avatar Guido Trotter
Browse files

Add slot and constant for supported OS variants



The slot will contain a list of variants, and the variants file constant
contains the file in the os dir which is supposed to hold the list.
Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarOlivier Tharan <olive@google.com>
parent 0757c107
......@@ -329,6 +329,7 @@ OS_SCRIPTS = frozenset([OS_SCRIPT_CREATE, OS_SCRIPT_IMPORT,
OS_SCRIPT_EXPORT, OS_SCRIPT_RENAME])
OS_API_FILE = 'ganeti_api_version'
OS_VARIANTS_FILE = 'variants.list'
# ssh constants
SSH_INITD_SCRIPT = _autoconf.SSH_INITD_SCRIPT
......
......@@ -786,6 +786,7 @@ class OS(ConfigObject):
"export_script",
"import_script",
"rename_script",
"supported_variants",
]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment