commit 0e5b4205842c33c3880e82c292c1a2da01e8d23e
Author: Hongbin Lu <email address hidden>
Date: Mon Dec 5 13:58:04 2016 -0600
Fix the check of docker installation
In before, we checked docker installation by:
$ rpm -q docker-engine
However, this doesn't work for all cases in fedora 24.
* If docker was installed by "sudo dnf install docker-engine", the
package will be named as "docker". Therefore, it should be checked
by "rpm -q docker".
* If docker was installed by devstack (by using https://get.docker.com/), the package will be named as
"docker-engine". Therefore, it should be checked by
"rpm -q docker-engine".
Reviewed: https:/ /review. openstack. org/407172 /git.openstack. org/cgit/ openstack/ kuryr-libnetwor k/commit/ ?id=0e5b4205842 c33c3880e82c292 c1a2da01e8d23e
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0e5b4205842c33c 3880e82c292c1a2 da01e8d23e
Author: Hongbin Lu <email address hidden>
Date: Mon Dec 5 13:58:04 2016 -0600
Fix the check of docker installation
In before, we checked docker installation by:
$ rpm -q docker-engine
However, this doesn't work for all cases in fedora 24. /get.docker. com/), the package will be named as docker- engine" . Therefore, it should be checked by
* If docker was installed by "sudo dnf install docker-engine", the
package will be named as "docker". Therefore, it should be checked
by "rpm -q docker".
* If docker was installed by devstack (by using
https:/
"
"rpm -q docker-engine".
This commit added check for "docker" as well.
Closes-Bug: #1647459 f0491f43d42a119 741882eb3cd
Change-Id: If89d8b62ffa542