forked from TrueCloudLab/distribution
Merge pull request #1432 from docker/ceph-build-fix
Attempt to unblock the ceph build process
This commit is contained in:
commit
55fbf54da0
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,9 @@ done
|
||||||
|
|
||||||
retries=0
|
retries=0
|
||||||
until [ $retries -ge 5 ]; do
|
until [ $retries -ge 5 ]; do
|
||||||
|
# apt-get can get stuck and hold the lock in some circumstances
|
||||||
|
# so preemptively kill it
|
||||||
|
kill `pgrep apt-get` || true
|
||||||
ceph-deploy install --release hammer $NODE && break
|
ceph-deploy install --release hammer $NODE && break
|
||||||
retries=$[$retries+1]
|
retries=$[$retries+1]
|
||||||
sleep 30
|
sleep 30
|
||||||
|
|
Loading…
Reference in a new issue