You must be the global administrator in the global zone to perform this procedure.
Become superuser, or assume the Primary Administrator role.
Use one of the following methods.
Generate the manifest on the source host for my-zone and pipe the output to a remote command that will immediately validate the target host:
global# zoneadm -z my-zone detach -n | ssh remotehost zoneadm attach -n -
The hyphen (—) at the end of the line specifies stdin for the path.
The validation is output to the source host screen, which is stdout.
Generate the manifest on the source host for my-zone and direct the output to a file:
global# zoneadm -z my-zone detach -n > filename
Copy the manifest to the new host system as described in How to Move the zonepath to a New Host, and perform the validation:
global# zoneadm attach -n path_to_manifest
The path can be — to specify stdin.