gnt-instance add: Remove "--os-size" and "--swap-size"
authorMichael Hanselmann <hansmi@google.com>
Mon, 1 Dec 2008 20:52:17 +0000 (20:52 +0000)
committerMichael Hanselmann <hansmi@google.com>
Mon, 1 Dec 2008 20:52:17 +0000 (20:52 +0000)
They're not used anymore.

Reviewed-by: ultrotter

scripts/gnt-instance

index 5af186c..8fa6b1d 100755 (executable)
@@ -1127,12 +1127,6 @@ add_opts = [
   make_option("-n", "--node", dest="node",
               help="Target node and optional secondary node",
               metavar="<pnode>[:<snode>]"),
-  cli_option("-s", "--os-size", dest="size", help="Disk size, in MiB unless"
-             " a suffix is used",
-             default=20 * 1024, type="unit", metavar="<size>"),
-  cli_option("--swap-size", dest="swap", help="Swap size, in MiB unless a"
-             " suffix is used",
-             default=4 * 1024, type="unit", metavar="<size>"),
   os_opt,
   keyval_option("-B", "--backend", dest="beparams",
                 type="keyval", default={},