Skip to content
Snippets Groups Projects
Commit 9108958f authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

configure: Add option to enable remote commands


By default remote commands are disabled and need to be explicitely
enabled at build time.

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent de959245
No related branches found
No related tags found
No related merge requests found
......@@ -1265,6 +1265,7 @@ lib/_autoconf.py: Makefile | stamp-directories
echo "ENABLE_CONFD = $(ENABLE_CONFD)"; \
echo "XEN_CMD = '$(XEN_CMD)'"; \
echo "ENABLE_SPLIT_QUERY = $(ENABLE_SPLIT_QUERY)"; \
echo "ENABLE_REMOTE_COMMANDS = $(ENABLE_REMOTE_COMMANDS)"; \
} > $@
lib/_vcsversion.py: Makefile vcs-version | stamp-directories
......
......@@ -310,6 +310,19 @@ then
fi
AC_SUBST(SYSLOG_USAGE, $SYSLOG)
AC_ARG_ENABLE([remote-commands],
[AS_HELP_STRING([--enable-remote-commands],
m4_normalize([enable remote commands in the node daemon
(default: disabled)]))],
[[if test "$enableval" = no; then
enable_remote_commands=False
else
enable_remote_commands=True
fi
]],
[enable_remote_commands=False])
AC_SUBST(ENABLE_REMOTE_COMMANDS, $enable_remote_commands)
# --with-disk-separator=...
AC_ARG_WITH([disk-separator],
[AS_HELP_STRING([--with-disk-separator=STRING],
......
......@@ -140,6 +140,7 @@ ENABLE_FILE_STORAGE = _autoconf.ENABLE_FILE_STORAGE
ENABLE_SHARED_FILE_STORAGE = _autoconf.ENABLE_SHARED_FILE_STORAGE
ENABLE_CONFD = _autoconf.ENABLE_CONFD
ENABLE_SPLIT_QUERY = _autoconf.ENABLE_SPLIT_QUERY
ENABLE_REMOTE_COMMANDS = _autoconf.ENABLE_REMOTE_COMMANDS
NODED = "ganeti-noded"
CONFD = "ganeti-confd"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment