From 9b429458206128f63c8caf2e49a292ba8257789a Mon Sep 17 00:00:00 2001 From: iceBear67 Date: Wed, 8 Jul 2026 23:54:51 +0800 Subject: [PATCH] fix fstab && better retry logic for docker pull --- image/overlay/etc/fstab | 2 +- image/overlay/etc/init.d/bubble | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/image/overlay/etc/fstab b/image/overlay/etc/fstab index 9f03bf2..02f0fb9 100644 --- a/image/overlay/etc/fstab +++ b/image/overlay/etc/fstab @@ -1,4 +1,4 @@ # /etc/fstab: static file system information # # -/dev/vdb1 /data ext4 rw,noatime 0 1 \ No newline at end of file +/dev/vdb1 /data ext4 rw,noatime 0 1 diff --git a/image/overlay/etc/init.d/bubble b/image/overlay/etc/init.d/bubble index 86de003..176cdbe 100755 --- a/image/overlay/etc/init.d/bubble +++ b/image/overlay/etc/init.d/bubble @@ -5,10 +5,9 @@ depend() { } start_pre() { - until docker info >/dev/null 2>&1; do - sleep 2 - done - docker pull git.sfclub.cc/cloud/workspace-image:latest + until docker pull git.sfclub.cc/cloud/workspace-image:latest; do + sleep 10 + done } command="/usr/bin/bubble"