Commit 91eb3709 authored by Justin Santa Barbara's avatar Justin Santa Barbara

AWS Debian: Only install linux-image-extra on Ubuntu

It isn't available (and hopefully not needed) on Debian
parent f4de3ea6
...@@ -175,7 +175,9 @@ if [[ ${docker_storage} == "btrfs" ]]; then ...@@ -175,7 +175,9 @@ if [[ ${docker_storage} == "btrfs" ]]; then
elif [[ ${docker_storage} == "aufs-nolvm" || ${docker_storage} == "aufs" ]]; then elif [[ ${docker_storage} == "aufs-nolvm" || ${docker_storage} == "aufs" ]]; then
# Install aufs kernel module # Install aufs kernel module
# Fix issue #14162 with extra-virtual # Fix issue #14162 with extra-virtual
apt-get-install linux-image-extra-$(uname -r) linux-image-extra-virtual if [[ `lsb_release -i -s` == 'Ubuntu' ]]; then
apt-get-install linux-image-extra-$(uname -r) linux-image-extra-virtual
fi
# Install aufs tools # Install aufs tools
apt-get-install aufs-tools apt-get-install aufs-tools
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment