From 536fda25c11aeba3402b08a0928c453f3513f8ca Mon Sep 17 00:00:00 2001
From: Guido Trotter <ultrotter@google.com>
Date: Mon, 21 Jan 2008 16:29:08 +0000
Subject: [PATCH] Add a few aliases for startup/shutdown

These aliases are widely used to think of these operations and save some typing
too. Even though there is some thought to make start/stop the default operation
name I don't think this should happen for 1.2, for now adding it as an alias is
fine.

Reviewed-by: iustinp
---
 scripts/gnt-instance | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/gnt-instance b/scripts/gnt-instance
index 73ed3241b..13aaf61c2 100755
--- a/scripts/gnt-instance
+++ b/scripts/gnt-instance
@@ -940,6 +940,8 @@ commands = {
 
 aliases = {
   'activate_block_devs': 'activate-disks',
+  'start': 'startup',
+  'stop': 'shutdown',
   }
 
 if __name__ == '__main__':
-- 
GitLab