Archive for October, 2010

Renaming Solaris Container

Let’s say you made a mistake and you need to rename Solaris container. Start off by moving container’s zonepath. This will change zonepath for container oldzone to /export/home/zones/newzone bash-3.00# zoneadm -z oldzone move /export/home/zones/newzone bash-3.00# zoneadm list -cv   ID NAME             STATUS     PATH                           BRAND    IP    0 global           running    /                              native   shared    3 ns2              running    /export/home/zones/ns2         native   shared    4 nis2             running    /export/home/zones/nis2        native   shared    – gold             installed  /export/home/zones/gold        native   shared    – oldzone          installed  /export/home/zones/newzone     native   shared Next you need to change the name of oldzone container: bash-3.00# […]

Posted on October 17, 2010 at 14:36 by somedude · Permalink · Leave a comment
In: solaris, solaris containers, solaris tips, solaris zones, virtualization