Thanks everyone.
linux-prepare-image rocks! I was able to modify and use it based on our
needs.
Once the manifest and zvol stream file are created, I was able to upload
them to our image repository and use it on other smartos servers through
imgadm import.
On Wed, Jun 27, 2018 at 5:50 PM, Mike
While creating an image is more efficient and should be the way to do it
(specially if you plan to deploy it multiple times) you can also do this:
Create a folder inside /zones to store the files.
1. Shutdown the VM and snapshot all hard drives
zfs snap zones/uuid-disk0
zfs snap
The easiest way to create an image from an existing kvm instance is with:
src_vm_uuid=FIXME
name=my-first-image
version=1
imgadm create -i $src_vm_uuid -s linux-prepare-image version=$version
name=$name
You can find linux-prepare-image at
If I need to store our own kvm image on our server, what format of the
image file should be? zfs send stream and compressed by gzip? where to put
the file? together with the manifest file?
The following image on joyent server does not say anything about the file
location. I have no idea what it