summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-07-28 13:44:41 -0400
committerGitHub <noreply@github.com>2016-07-28 13:44:41 -0400
commitabb7a8b0be9a390a80b8a7f2325d76c2087dfff1 (patch)
tree81aecfa7d387be801730b81233e3ed753fc7edef /utils
parent70e535c23eb99bbce590b5da29cbaf0cf1d2da28 (diff)
parent8ed7f0c2df2e8acb4bcaf93553a21af246492dff (diff)
downloadopenshift-abb7a8b0be9a390a80b8a7f2325d76c2087dfff1.tar.gz
openshift-abb7a8b0be9a390a80b8a7f2325d76c2087dfff1.tar.bz2
openshift-abb7a8b0be9a390a80b8a7f2325d76c2087dfff1.tar.xz
openshift-abb7a8b0be9a390a80b8a7f2325d76c2087dfff1.zip
Merge pull request #2232 from smunilla/BZ1353152
a-o-i: Set roles on standalone storage
Diffstat (limited to 'utils')
-rw-r--r--utils/src/ooinstall/cli_installer.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/utils/src/ooinstall/cli_installer.py b/utils/src/ooinstall/cli_installer.py
index c9c13501d..9fbb61a46 100644
--- a/utils/src/ooinstall/cli_installer.py
+++ b/utils/src/ooinstall/cli_installer.py
@@ -322,9 +322,7 @@ Note: Containerized storage hosts are not currently supported.
else:
host_props['connect_to'] = hostname_or_ip
host_props['preconfigured'] = False
- host_props['master'] = False
- host_props['node'] = False
- host_props['storage'] = True
+ host_props['roles'] = ['storage']
storage = Host(**host_props)
hosts.append(storage)