| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
useful feature and the core is right — resizeSystemDisk reuses cocoon's ReadQcow2Header + RunQemuImg, grow-only with a clear reject, and the record carries the size for clone inheritance. gates green incl asl (both GOOS), tests, gofmt.
two cleanups + one nit inline. also, non-blocking: the APFS grow daemon runs diskutil repairDisk on the whole disk (with a piped y) every boot that has free space — a heavy hammer to refresh the GPT; fine functionally, just flagging it since it's the one destructive-looking op on the boot path.
Sorry, something went wrong.
There was a problem hiding this comment.
one parseSize for storage + data disks (Gi normalized to GiB — cleaner than the strip), omitempty in, label renamed to com.cocoon.*, comment one-lined. gates green on 5da3de4 (lint 0/0, asl clean, tests). lgtm. same merge-log note as #32: the APFS grow daemon needs one rebuilt-image boot check with --storage before tag promotion.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
What changed
Why
Cloud images currently impose their original virtual disk size on every VM. Supporting safe growth makes one image reusable across multiple storage specifications without rebuilding the image.
Semantics
Validation