Re: [zones-discuss] preferred way to image-update zones

2009-12-10 Thread Jordan Vaughan
On 12/ 8/09 11:50 AM, xx wrote: when updating from 126 to 128, one zone would attach: init...@dogpatch:~/.VirtualBox/HardDisks$ pfexec zoneadm -z ldap attach -U Log File: /var/tmp/ldap.attach_log.9hay7p Attaching... Global zone version: ent...@0.5.11,5.11-0.128:20091125T051747Z Non-Gl

Re: [zones-discuss] preferred way to image-update zones

2009-12-08 Thread xx
when updating from 126 to 128, one zone would attach: init...@dogpatch:~/.VirtualBox/HardDisks$ pfexec zoneadm -z ldap attach -U Log File: /var/tmp/ldap.attach_log.9hay7p Attaching... Global zone version: ent...@0.5.11,5.11-0.128:20091125T051747Z Non-Global zone version: ent...@0.5.11,5

Re: [zones-discuss] preferred way to image-update zones

2009-12-06 Thread Nicolas Dorfsman
Le 6 déc. 2009 à 03:21, Anil a écrit : > It seems to be -U, looking at the source at least: > > http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/zoneadm/zoneadm.c#attach_func -U seems to be a special (undocumented) update option. Take a look to the comment : === Undocumented

Re: [zones-discuss] preferred way to image-update zones

2009-12-05 Thread Anil
It seems to be -U, looking at the source at least: http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/zoneadm/zoneadm.c#attach_func -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org

Re: [zones-discuss] preferred way to image-update zones

2009-12-05 Thread Thomas Tornblom
Jordan Vaughan skrev: On 12/ 4/09 02:28 PM, Anil wrote: Once a the global zone is upgraded (and rebooted with the new BE), what is the best way to update the zones? It seems like all I would need to do is: pkg -R /root image-update reboot zone This seems like a hack, how would "post package"

Re: [zones-discuss] preferred way to image-update zones

2009-12-04 Thread Jordan Vaughan
On 12/ 4/09 03:02 PM, Anil wrote: Ah, thanks. I knew that was available on Solaris but not in OpenSolaris. The man page had no reference to the -u option (I take it you meant -u and not -U). I will try that out later. It probably is "-u" but I used "-U" and it worked fine. Go with "-u" just

Re: [zones-discuss] preferred way to image-update zones

2009-12-04 Thread Anil
Ah, thanks. I knew that was available on Solaris but not in OpenSolaris. The man page had no reference to the -u option (I take it you meant -u and not -U). I will try that out later. -- This message posted from opensolaris.org ___ zones-discuss mailin

Re: [zones-discuss] preferred way to image-update zones

2009-12-04 Thread Jordan Vaughan
On 12/ 4/09 02:28 PM, Anil wrote: Once a the global zone is upgraded (and rebooted with the new BE), what is the best way to update the zones? It seems like all I would need to do is: pkg -R /root image-update reboot zone This seems like a hack, how would "post package" processing happen if t

[zones-discuss] preferred way to image-update zones

2009-12-04 Thread Anil
Once a the global zone is upgraded (and rebooted with the new BE), what is the best way to update the zones? It seems like all I would need to do is: pkg -R /root image-update reboot zone This seems like a hack, how would "post package" processing happen if this is not done from the zone itsel