Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update default.conf #2982

Merged
merged 6 commits into from
May 11, 2023
Merged

Update default.conf #2982

merged 6 commits into from
May 11, 2023

Commits on May 9, 2023

  1. Update default.conf

    In default.conf cleaned up
    all cases of config variables for secret values
    i.e. have a generic explanation comment at the beginning
    instead of several similar comments at each place
    jsmeix committed May 9, 2023
    Configuration menu
    Copy the full SHA
    da0cd3b View commit details
    Browse the repository at this point in the history
  2. Update default.conf

    When VAR is for a secret value we must
    also in case of VAR="${VAR:-default}" use
    { VAR="${VAR:-default}" ; } 2>/dev/null
    otherwise when VAR is already set as VAR=secret
    then with 'set -x' the plain VAR="${VAR:-default}"
    would reveal the secret in the log as 'VAR=secret'
    jsmeix committed May 9, 2023
    Configuration menu
    Copy the full SHA
    120de78 View commit details
    Browse the repository at this point in the history
  3. Update default.conf

    Keep the information that default.conf is sourced by usr/sbin/rear directly (using 'source') while {site,local}.conf are sourced using Source() which can 'set -x'.
    jsmeix committed May 9, 2023
    Configuration menu
    Copy the full SHA
    3c580c5 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2023

  1. Update local.conf

    In etc/rear/local.conf added an explanation how to set a secret value
    jsmeix committed May 10, 2023
    Configuration menu
    Copy the full SHA
    211495b View commit details
    Browse the repository at this point in the history
  2. Update default.conf

    jsmeix committed May 10, 2023
    Configuration menu
    Copy the full SHA
    1d8d0e8 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2023

  1. Update local.conf

    Less duplicate expanation in local.conf - instead a generic reference to default.conf
    jsmeix committed May 11, 2023
    Configuration menu
    Copy the full SHA
    d404887 View commit details
    Browse the repository at this point in the history