fix fstab && better retry logic for docker pull

This commit is contained in:
iceBear67
2026-07-08 23:54:51 +08:00
parent 8bb600d5ef
commit 9b42945820
2 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -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
+3 -4
View File
@@ -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"