Closed
Description
Description
CLI syntax
- Option 1:
limactl clone <OLDINST> <NEWINST>
- Option 2:
limactl create --name=<NEWINST> copy://<OLDINST>
I'm inclined to the latter one, but the copy://
prefix needs a bikeshedding.
Implementation
It seems to just work fine by copying the instance directory.
On APFS, clonefile(2)
can be attempted by using https://pkg.go.dev/github.com/containerd/[email protected]/fs#CopyDir
Maybe vz-identifier
file should be removed?