burnin: Disk template option cleanup
authorMichael Hanselmann <hansmi@google.com>
Tue, 15 Jan 2013 11:07:18 +0000 (12:07 +0100)
committerMichael Hanselmann <hansmi@google.com>
Tue, 15 Jan 2013 11:18:41 +0000 (12:18 +0100)
commit42959a7f87ba885324213b20d779e7f74fdb60b5
treec19d62e9de07fd46436c4b1f433f5a2ca4dcdfc6
parentd8378091d8aa4b1193bb6aa5a44f742b151179e2
burnin: Disk template option cleanup

Burnin doesn't support all disk templates (specifically it doesn't
support “blockdev”). The code, however, used manually composed lists in
some places, constants.DISK_TEMPLATES in others, and an internal list of
supported templates in some.

This patch changes burnin to only use its internal list of supported
disk templates.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
tools/burnin