Browse Source

Fix flavor type bug in config opts

flavor is StrOpt instead of IntOpt

Change-Id: I8c2269ff940561821a7f24097f204d40f83f07c9
Changbin Liu 5 years ago
parent
commit
65806429f5
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      inception/orchestrator.py

+ 2
- 2
inception/orchestrator.py View File

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

Loading…
Cancel
Save