Skip to content

Commit

Permalink
Merge pull request #143 from rancher-sandbox/persist-etc
Browse files Browse the repository at this point in the history
Persist all of /etc on the data volume
  • Loading branch information
AkihiroSuda authored Aug 5, 2021
2 parents 874786d + 94cfa97 commit be41f25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -eux -o pipefail
test -f /etc/alpine-release || exit 0

# Data directories that should be persisted across reboots
DATADIRS="/etc/containerd /etc/ssh /home /tmp /usr/local /var/lib"
DATADIRS="/etc /home /tmp /usr/local /var/lib"

# When running from RAM try to move persistent data to data-volume
# FIXME: the test for tmpfs mounts is probably Alpine-specific
Expand Down

0 comments on commit be41f25

Please sign in to comment.