Commit dbfd89dd authored by Guido Trotter's avatar Guido Trotter
Browse files

Add the first command alias

Alias activate_block_devs to activate-disks, for ganeti 1.1 compatibility.

Reviewed-by: iustinp
parent de47cf8f
......@@ -938,6 +938,10 @@ commands = {
"<node_name> tag...", "Remove tags from given instance"),
}
aliases = {
'activate_block_devs': 'activate-disks',
}
if __name__ == '__main__':
sys.exit(GenericMain(commands,
sys.exit(GenericMain(commands, aliases=aliases,
override={"tag_type": constants.TAG_INSTANCE}))
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