From 8ed7f0c2df2e8acb4bcaf93553a21af246492dff Mon Sep 17 00:00:00 2001 From: Samuel Munilla Date: Thu, 28 Jul 2016 10:56:03 -0400 Subject: a-o-i: Set roles on standalone storage Sets the roles appropriately when using a standalone storage host. Fixes BZ#1353152 --- utils/src/ooinstall/cli_installer.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'utils') 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) -- cgit v1.2.3