Stefhen Hovland wrote:
> I have an already installed zone, and i would like to change its
> installation location and zonepath. Is this possible via the commands
> below? I am just looking to change the zone name and installation dir
> on the disk. I would like to preserve all data.
> It looks like I can just do the commands below, after the zone is halted:
> # zoneadm -z old move /new
> # zonecfg -z old
> zonecfg:old> set zonename=new
> This seems to be it, does this look correct?
You don't need to reset anything in zonecfg. Just using
the 'zoneadm move' subcommand will do what you want. The
commands you show above for zonecfg will rename the zone,
not change the zones location.
zones-discuss mailing list