mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 23:37:01 +00:00
AWS: Always install aufs module & tools
Clean up the installation of aufs supporting modules & tools, so we always install both and only install in one place. Fixes #12855
This commit is contained in:
parent
736945faba
commit
fba216c7b3
@ -55,12 +55,6 @@ docker_storage=${DOCKER_STORAGE:-aufs}
|
||||
if [[ ${#block_devices[@]} == 0 ]]; then
|
||||
echo "No ephemeral block devices found; will use aufs on root"
|
||||
docker_storage="aufs"
|
||||
|
||||
# Install aufs kernel module (for ubuntu)
|
||||
apt-get install --yes linux-image-extra-$(uname -r)
|
||||
|
||||
# Install aufs tools (for debian)
|
||||
apt-get install --yes aufs-tools
|
||||
else
|
||||
echo "Block devices: ${block_devices[@]}"
|
||||
|
||||
@ -174,6 +168,9 @@ elif [[ ${docker_storage} == "aufs-nolvm" || ${docker_storage} == "aufs" ]]; the
|
||||
# Install aufs kernel module
|
||||
apt-get install --yes linux-image-extra-$(uname -r)
|
||||
|
||||
# Install aufs tools
|
||||
apt-get install --yes aufs-tools
|
||||
|
||||
DOCKER_OPTS="${DOCKER_OPTS} -s aufs"
|
||||
elif [[ ${docker_storage} == "devicemapper" ]]; then
|
||||
DOCKER_OPTS="${DOCKER_OPTS} -s devicemapper"
|
||||
|
Loading…
Reference in New Issue
Block a user