Handle empty flavor type in config file

Change-Id: I734b0add2342399bf428e45bf4fee53b02c8f376
This commit is contained in:
Stefano Chiesa 2016-12-09 17:45:59 -08:00
parent 3d5769f7c0
commit a1fac4df0e

View File

@ -998,6 +998,11 @@ def merge_opts_to_configs(opts):
if opts.vm_image_url:
config.vm_image_url = opts.vm_image_url
###################################################
# VM Flavor Type
###################################################
config.flavor_type = config.flavor_type or 'vmtp'
###################################################
# MongoDB Server connection info.
###################################################