Skip to content

Commit 3d60266

Browse files
author
docker
committed
fix two bugs with docker, Bug #1237581
1 parent 67f7da2 commit 3d60266

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/nova_plugins/hypervisor-docker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function install_nova_hypervisor() {
7272
fi
7373

7474
# Make sure Docker is installed
75-
if ! is_package_installed lxc-docker; then
75+
if ! is_package_installed lxc-docker-${DOCKER_PACKAGE_VERSION}; then
7676
die $LINENO "Docker is not installed. Please run tools/docker/install_docker.sh"
7777
fi
7878

tools/docker/install_docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ curl https://get.docker.io/gpg | sudo apt-key add -
3838
install_package python-software-properties && \
3939
sudo sh -c "echo deb $DOCKER_APT_REPO docker main > /etc/apt/sources.list.d/docker.list"
4040
apt_get update
41-
install_package --force-yes lxc-docker=${DOCKER_PACKAGE_VERSION} socat
41+
install_package --force-yes lxc-docker-${DOCKER_PACKAGE_VERSION} socat
4242

4343
# Start the daemon - restart just in case the package ever auto-starts...
4444
restart_service docker

0 commit comments

Comments
 (0)