mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:01:08 +02:00
fix(startup): remove colima delete --force to prevent image loss on reboot
colima delete wipes the entire VM disk on every power cycle, forcing full image rebuilds. colima stop --force is sufficient to clear stale process state after a hard shutdown. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
dee44807d1
commit
b46cbe403b
1 changed files with 1 additions and 2 deletions
|
|
@ -37,9 +37,8 @@ if colima status 2>/dev/null | grep -q "running"; then
|
|||
else
|
||||
log "Starting Colima..."
|
||||
|
||||
# Clean stale state from hard shutdown
|
||||
# Clear stale process state from hard shutdown (stop only, never delete — delete wipes all images)
|
||||
colima stop --force 2>/dev/null || true
|
||||
colima delete --force 2>/dev/null || true
|
||||
sleep 2
|
||||
|
||||
colima start \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue