Allow burnin to take "-t plain" as an option
authorIustin Pop <iustin@google.com>
Mon, 14 Jan 2008 15:11:08 +0000 (15:11 +0000)
committerIustin Pop <iustin@google.com>
Mon, 14 Jan 2008 15:11:08 +0000 (15:11 +0000)
The burnin code deals with "-t plain", but the command line parser
doesn't allow that as an option. This patch fixes this issue.

Reviewed-by: ultrotter

tools/burnin

index 2b5203c..c60e6a4 100755 (executable)
@@ -122,7 +122,7 @@ class Burner(object):
                       help="Skip instance failovers", action="store_false",
                       default=True)
     parser.add_option("-t", "--disk-template", dest="disk_template",
-                      choices=("remote_raid1", "drbd"),
+                      choices=("plain", "remote_raid1", "drbd"),
                       default="remote_raid1",
                       help="Template type for network mirroring (remote_raid1"
                       " or drbd) [remote_raid1]")