forked from heavy-duty/box
cmd_new's fresh-mint branch runs launch → wait_agent → cloud-init status --wait → the rig bootstrap hook. In the gap between the last two the guest IS pristine Debian plus box's thin seed — the state heavy-duty/rig#62 calls "back to pristine Debian". It existed for a few seconds on every mint box has ever taken and nothing captured it. Take it there, unconditionally within a fresh mint and never fatally, so 'box restore <box> pristine' is a complete undo for every creds-free tenant role. A --from clone takes none: it has no pristine moment, so it inherits its source's snapshots or starts with none, and box will not label a worked-in state as pristine. On a 'dir' pool (no CoW) the mark would be a full multi-GB copy per mint, so the mint skips it loudly. Closes #104 |
||
|---|---|---|
| .. | ||
| cli.sh | ||
| labels-reconcile.sh | ||
| release.sh | ||