From 91eb37093195b4ee0efc4bbfa4250a61e5027cd5 Mon Sep 17 00:00:00 2001 From: Justin Santa Barbara Date: Sat, 13 Feb 2016 16:35:05 -0500 Subject: [PATCH] AWS Debian: Only install linux-image-extra on Ubuntu It isn't available (and hopefully not needed) on Debian --- cluster/aws/templates/format-disks.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cluster/aws/templates/format-disks.sh b/cluster/aws/templates/format-disks.sh index 9aa04112a38..9afc1b93fd9 100644 --- a/cluster/aws/templates/format-disks.sh +++ b/cluster/aws/templates/format-disks.sh @@ -175,7 +175,9 @@ if [[ ${docker_storage} == "btrfs" ]]; then elif [[ ${docker_storage} == "aufs-nolvm" || ${docker_storage} == "aufs" ]]; then # Install aufs kernel module # 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 apt-get-install aufs-tools