Re: [zones-discuss] Running zonename command in an alternate root

2007-07-27 Thread James Carlson
Dan Price writes: On Thu 26 Jul 2007 at 05:04PM, James Carlson wrote: Here's a code snippet : ZONECMD=${PKG_INSTALL_ROOT}/usr/bin/zonename That's the broken part. That should be just: ZONECMD=/usr/bin/zonename I'm lacking context here, slightly, but... Isn't it also

Re: [zones-discuss] Running zonename command in an alternate root

2007-07-26 Thread Ritu Agrawal
Opening to [EMAIL PROTECTED] James Carlson wrote: Why is this on zones-discuss-confidential? I don't see anything confidential here. Please use the main opensolaris.org list. Ritu Agrawal writes: We're running into some problems when we run zonename in an alternate root. The

Re: [zones-discuss] Running zonename command in an alternate root

2007-07-26 Thread Dan Price
On Thu 26 Jul 2007 at 05:04PM, James Carlson wrote: Here's a code snippet : ZONECMD=${PKG_INSTALL_ROOT}/usr/bin/zonename That's the broken part. That should be just: ZONECMD=/usr/bin/zonename I'm lacking context here, slightly, but... Isn't it also broken to be calling

Re: [zones-discuss] Running zonename command in an alternate root

2007-07-26 Thread mary ding
Ritu: Your CAS scripts is not live upgrade and jumpstart compliance. YOu can look at SUNWmcosx/postinstall and see how this can be done. As James Carlson had indicated, you should use /sbin/zonename instead. Ritu Agrawal wrote: Opening to [EMAIL PROTECTED] James Carlson wrote: Why is

Re: [zones-discuss] Running zonename command in an alternate root

2007-07-26 Thread James Carlson
Ritu Agrawal writes: Opening to [EMAIL PROTECTED] Thanks. Also removing accidental cc of confidential list. Use /sbin/zonename and you should be fine This is a Live upgrade case when we are on the alternate root. Yep; understood. The alternate root has the O/S installed and we try to