瀏覽代碼

re-enable containerize installs

Scott Dodson 9 年之前
父節點
當前提交
1da2b5f6ed
共有 1 個文件被更改,包括 7 次插入8 次删除
  1. 7 8
      utils/src/ooinstall/cli_installer.py

+ 7 - 8
utils/src/ooinstall/cli_installer.py

@@ -130,14 +130,13 @@ http://docs.openshift.com/enterprise/latest/architecture/infrastructure_componen
         host_props['node'] = True
 
         #TODO: Reenable this option once container installs are out of tech preview
-        #rpm_or_container = click.prompt('Will this host be RPM or Container based (rpm/container)?',
-        #                                type=click.Choice(['rpm', 'container']),
-        #                                default='rpm')
-        #if rpm_or_container == 'container':
-        #    host_props['containerized'] = True
-        #else:
-        #    host_props['containerized'] = False
-        host_props['containerized'] = False
+        rpm_or_container = click.prompt('Will this host be RPM or Container based (rpm/container)?',
+                                        type=click.Choice(['rpm', 'container']),
+                                        default='rpm')
+        if rpm_or_container == 'container':
+            host_props['containerized'] = True
+        else:
+            host_props['containerized'] = False
 
         host = Host(**host_props)