From 5c545b302479c672c9e7e8410d2044b1350198fa Mon Sep 17 00:00:00 2001 From: Ramesh Nachimuthu Date: Wed, 9 Apr 2014 12:32:52 +0530 Subject: autoconf: refactoring auto conf Following small changes have been made in auto conf. 1. Create Cluster utilization service only when there is atleast one volume in the cluster. 2. Change the auto config to use the same host given during manual run for further auto syncing. 3. Change the "gluster_auto_discovery" command to passss the cluster name to auto discovery using $HOSTNAME$ macro Change-Id: Id30e0794d98ada4a0276af0c17781f8742dc14e5 Signed-off-by: Ramesh Nachimuthu --- config/gluster-commands.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/gluster-commands.cfg b/config/gluster-commands.cfg index 41aa99b..377887c 100644 --- a/config/gluster-commands.cfg +++ b/config/gluster-commands.cfg @@ -63,7 +63,7 @@ define command{ define command{ command_name gluster_auto_discovery - command_line $USER1$/gluster/discovery.py -H $ARG1$ -c $ARG2$ + command_line $USER1$/gluster/discovery.py -H $ARG1$ -c $HOSTNAME$ } define command{ -- cgit