saving uncommitted changes in /etc prior to dnf run
This commit is contained in:
@@ -57,6 +57,12 @@ is_prefix() {
|
||||
}
|
||||
|
||||
check_directories() {
|
||||
if [ -f "${script_dir}/.container-hostname" ]; then
|
||||
NETDATA_USER_CONFIG_DIR="${script_dir}"
|
||||
NETDATA_STOCK_CONFIG_DIR="/usr/lib/netdata/conf.d"
|
||||
return
|
||||
fi
|
||||
|
||||
if [ -e "${script_dir}/.environment" ]; then
|
||||
OLDPATH="${PATH}"
|
||||
# shellcheck disable=SC1091
|
||||
|
||||
21
netdata/netdata-updater.conf
Normal file
21
netdata/netdata-updater.conf
Normal file
@@ -0,0 +1,21 @@
|
||||
# Configuration for netdata-updater.sh script.
|
||||
#
|
||||
# When run non-interactively, the updater script will delay some
|
||||
# random number of seconds up to NETDATA_UPDATER_JITTER before
|
||||
# actually running the update. The default is 3600 (one
|
||||
# hour). Most users should not need to change this.
|
||||
#NETDATA_UPDATER_JITTER="3600"
|
||||
|
||||
# On systems using our native packages, the updater will by default
|
||||
# attempt to install optional plugin packages that would be installed by
|
||||
# default on clean installs if those packages are supported on the system.
|
||||
#
|
||||
# This behavior can be disabled on a per-package basis using the below
|
||||
# variables. Setting the variable to a value other than 0 will disable
|
||||
# the corresponding package (note that you still need to remove the package
|
||||
# yourself if you don0t want it, this just controls whether the updater
|
||||
# will try to ensure it’s installed or not).
|
||||
#
|
||||
# NETDATA_NO_SYSTEMD_JOURNAL controls the `netdata-plugin-systemd-journal`
|
||||
# package, which provides the systemd journal plugin for Netdata.
|
||||
#NETDATA_NO_SYSTEMD_JOURNAL="0"
|
||||
Reference in New Issue
Block a user