Skip to content

Commit

Permalink
kickstart: pass options to installer
Browse files Browse the repository at this point in the history
- pass --stable-channel option
- append --dont-wait option to list of passthrough options
  • Loading branch information
oxplot committed Oct 10, 2019
1 parent d01816f commit 42142c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packaging/installer/kickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ while [ -n "${1}" ]; do
shift 1
elif [ "${1}" = "--stable-channel" ]; then
RELEASE_CHANNEL="stable"
NETDATA_INSTALLER_OPTIONS="$NETDATA_INSTALLER_OPTIONS --stable-channel"
shift 1
elif [ "${1}" = "--local-files" ]; then
shift 1
Expand Down Expand Up @@ -351,7 +352,7 @@ done

if [ "${INTERACTIVE}" = "0" ]; then
PACKAGES_INSTALLER_OPTIONS="--dont-wait --non-interactive ${PACKAGES_INSTALLER_OPTIONS}"
NETDATA_INSTALLER_OPTIONS="--dont-wait"
NETDATA_INSTALLER_OPTIONS="$NETDATA_INSTALLER_OPTIONS --dont-wait"
fi

TMPDIR=$(create_tmp_directory)
Expand Down

0 comments on commit 42142c7

Please sign in to comment.