fix fstab && better retry logic for docker pull
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# /etc/fstab: static file system information
|
# /etc/fstab: static file system information
|
||||||
#
|
#
|
||||||
# <file system> <mount point> <type> <options> <dump> <pass>
|
# <file system> <mount point> <type> <options> <dump> <pass>
|
||||||
/dev/vdb1 /data ext4 rw,noatime 0 1
|
/dev/vdb1 /data ext4 rw,noatime 0 1
|
||||||
|
|||||||
@@ -5,10 +5,9 @@ depend() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
start_pre() {
|
start_pre() {
|
||||||
until docker info >/dev/null 2>&1; do
|
until docker pull git.sfclub.cc/cloud/workspace-image:latest; do
|
||||||
sleep 2
|
sleep 10
|
||||||
done
|
done
|
||||||
docker pull git.sfclub.cc/cloud/workspace-image:latest
|
|
||||||
}
|
}
|
||||||
|
|
||||||
command="/usr/bin/bubble"
|
command="/usr/bin/bubble"
|
||||||
|
|||||||
Reference in New Issue
Block a user