Fix flavor type bug in config opts

flavor is StrOpt instead of IntOpt

Change-Id: I8c2269ff940561821a7f24097f204d40f83f07c9
This commit is contained in:
Changbin Liu 2013-09-25 17:15:48 -04:00
parent 02b6284ec2
commit 65806429f5

View File

@ -92,10 +92,10 @@ orchestrator_opts = [
cfg.StrOpt('chefserver_image',
default='u1204-130716-gvc',
help='name of image to construct chefserver'),
cfg.IntOpt('flavor',
cfg.StrOpt('flavor',
default='m1.medium',
help='name of instance flavor used for nodes'),
cfg.IntOpt('gateway_flavor',
cfg.StrOpt('gateway_flavor',
default='m1.tiny',
help='name of instance flavor used to construct gateway node'),
cfg.StrOpt('key_name',