cluster/aws: Fix #14162 reboot docker failure

Fixes AWS ubuntu deployment due to extra-$(uname) vs extra-virtual
package being installed. See issue #14162

Signed-off-by: Christian Stewart <christian@paral.in>
This commit is contained in:
Christian Stewart 2015-10-21 16:31:13 -04:00
parent a5a917603c
commit baa61c14da
No known key found for this signature in database
GPG Key ID: F68AC06364500AE3

View File

@ -172,7 +172,8 @@ if [[ ${docker_storage} == "btrfs" ]]; then
DOCKER_OPTS="${DOCKER_OPTS} -s btrfs" DOCKER_OPTS="${DOCKER_OPTS} -s btrfs"
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
apt-get install --yes linux-image-extra-$(uname -r) # Fix issue #14162 with extra-virtual
apt-get install --yes linux-image-extra-$(uname -r) linux-image-extra-virtual
# Install aufs tools # Install aufs tools
apt-get install --yes aufs-tools apt-get install --yes aufs-tools