Code Review
/
apex-tripleo-heat-templates.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Set start/stop pacemaker resource timeouts for updates"
[apex-tripleo-heat-templates.git]
/
docker
/
firstboot
/
start_docker_agents.sh
diff --git
a/docker/firstboot/start_docker_agents.sh
b/docker/firstboot/start_docker_agents.sh
index
caf511b
..
88759a5
100644
(file)
--- a/
docker/firstboot/start_docker_agents.sh
+++ b/
docker/firstboot/start_docker_agents.sh
@@
-52,9
+52,10
@@
echo nameserver 8.8.8.8 > /etc/resolv.conf
HOSTNAME=$(hostname)
echo "127.0.0.1 $HOSTNAME.localdomain $HOSTNAME" >> /etc/hosts
HOSTNAME=$(hostname)
echo "127.0.0.1 $HOSTNAME.localdomain $HOSTNAME" >> /etc/hosts
-# Another hack.. we need latest docker..
+# Another hack.. we need a different docker version
+# (should obviously be dropped once the atomic image contains docker 1.8.2)
/usr/bin/systemctl stop docker.service
/usr/bin/systemctl stop docker.service
-/bin/curl -o /tmp/docker https://get.docker.com/builds/Linux/x86_64/docker-
latest
+/bin/curl -o /tmp/docker https://get.docker.com/builds/Linux/x86_64/docker-
1.8.2
/bin/mount -o remount,rw /usr
/bin/rm /bin/docker
/bin/cp /tmp/docker /bin/docker
/bin/mount -o remount,rw /usr
/bin/rm /bin/docker
/bin/cp /tmp/docker /bin/docker