[zones-discuss] Configure a zone through sysidcfg

2009-08-14 Thread v
I created an exclusive IP zone. Now I want to configure it using sysidcfg and avoid the prompts at the initial login. I created the below sysidcfg file: timezone=US/Eastern system_locale=C terminal=xterms network_interface=vnic1 {dhcp protocol_ipv6=yes} root_password=abc123 security_policy=none

Re: [zones-discuss] Configure a zone through sysidcfg

2009-08-14 Thread v
So, I uninstalled the zone, reinstalled it, booted it, and there you go... I had the etc directory (and a bunch other directories) under root. Then, I created sysidcfg file in the etc directory. Logged in using: zlogin -C zone1 However, it goes straight into the configuration again (starting w

Re: [zones-discuss] Configure a zone through sysidcfg

2009-08-14 Thread v
OK. Here is what has happened: I copied the sysidcfg file into etc directory. Sysidcfg contains the following lines: timezone=US/Eastern system_locale=C terminal=vt100 network_interface=PRIMARY {hostname=zone1 dhcp protocol_ipv6=yes} root_password=abc123 security_policy=none name_service=DNS

[zones-discuss] Zone install - avoid package downloads

2009-08-16 Thread v
When I install a zone, packages are downloaded (approx. 70MB in size) that really slow down the process. Is there any way I can pre-download these and use them for each zone I create and install? Thanks... -- This message posted from opensolaris.org

[zones-discuss] sysidcfg - root password

2009-08-26 Thread v
Hello, I use sysidcfg to configure my zone. However, during configuration, the root password gives a syntax error. The password I use in the sysidcfg is the encrypted version of abc123. I don't know why it doesn't like it. Let me walk you through my zone creation process. Maybe somebody ca

Re: [zones-discuss] sysidcfg - root password

2009-08-26 Thread v
It didn't work. It is still giving the same syntax error... -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org

Re: [zones-discuss] sysidcfg - root password

2009-08-26 Thread v
I don't think so... It looks like it works: http://blogs.sun.com/observatory/en_US/entry/zones_and_crossbow1 -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org

Re: [zones-discuss] sysidcfg - root password

2009-08-26 Thread v
Well, I typed it myself instead of copying and pasting it. It still gives the same error. In the error, it says the error is in position 15, which is the character "f" right after the equal sign. I tried putting quotation marks, but it still didn't like it. -- This message posted from openso

Re: [zones-discuss] sysidcfg - root password

2009-08-26 Thread v
RESOLVED... The encryption for bosox worked. I guess I should have checked the encryption more carefully. Thanks a lot to everybody for responding... I appreciate everybody's time. -- This message posted from opensolaris.org ___ zones-discuss mailing

[zones-discuss] Networkless zones getting access to NFS data

2009-06-29 Thread Roman V Shaposhnik
Hi! I have a project where I need to run untrusted code contained in a local zone. As the code is untrusted the less resources I give to such a zone the safer I feel. Networking in general, is one such resource. I don't want zone to have access to anything but a loopback interface. Unfortunately

Re: [zones-discuss] Can a non-global zone mount an NFS file system from its own global zone?

2009-06-29 Thread Roman V Shaposhnik
On Mon, 2009-06-29 at 20:56 +0200, Nicolas Dorfsman wrote: > Hi Rob, > > Le 29 juin 09 à 18:01, Rob Mallory a écrit : > > > Hi Niko, > > this thread had 150 hits in the last three weeks, the topic is in > > the FAQ since 2005, and the question comes about every 9 months or > > so. So

Re: [zones-discuss] Parallel mount question

2009-06-30 Thread Roman V Shaposhnik
On Tue, 2009-06-30 at 10:13 -0400, Moore, Joe wrote: > William Roche wrote: > > Now about the automounter, I share Nico's point of view, but as far as > > I > > know nothing like that already exist, and No, the automounter or a > > mount > > request isn't 'clever' enough (or customized enough) yet

Re: [zones-discuss] Parallel mount question

2009-06-30 Thread Roman V Shaposhnik
On Tue, 2009-06-30 at 10:55 -0500, Nicolas Williams wrote: > On Tue, Jun 30, 2009 at 10:13:34AM -0400, Moore, Joe wrote: > > The global zone could be the one running automount. Since it knows > > what host is "local", it'll convert the nfs mounts to lofs > > automagically. > > > > For each zone,

Re: [zones-discuss] Parallel mount question

2009-06-30 Thread Roman V Shaposhnik
On Tue, 2009-06-30 at 12:58 -0700, Glenn Faden wrote: > > This should be added to the FAQ ! > > As already said by others, it's not perfect, as it should be set up in > > the global zone, but it's really better, better, better, better than > > the current answer. > Doesn't work. That's what I th

Re: [zones-discuss] Forcing all FS traffic into a global zone

2009-06-30 Thread Roman V Shaposhnik
On Tue, 2009-06-30 at 13:46 -0700, Glenn Faden wrote: > > > >>> My personal question now is : why didn't I find it by myself ! :-) > >>> > >> Because it doesn't work. See: > >> > >> http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/fs/autofs/auto_vnops.c#auto_trigg

Re: [zones-discuss] Forcing all FS traffic into a global zone

2009-06-30 Thread Roman V Shaposhnik
On Tue, 2009-06-30 at 16:31 -0500, Nicolas Williams wrote: > On Tue, Jun 30, 2009 at 02:12:57PM -0700, Roman V Shaposhnik wrote: > > On Tue, 2009-06-30 at 13:46 -0700, Glenn Faden wrote: > > > >>> My personal question now is : why didn't I find it by myself ! :-) &

Re: [zones-discuss] Forcing all FS traffic into a global zone

2009-06-30 Thread Roman V Shaposhnik
On Tue, 2009-06-30 at 17:00 -0500, Nicolas Williams wrote: > > > The problem at hand is a reentrance issue in the VM. > > > > Could you, please, point me to the most authoritative CR that captures > > this issue? > > Hasn't it been mentioned in this thread already? I could search for it, > but s

Re: [zones-discuss] NFS zones via file based zpools or lofi/loopback

2009-08-24 Thread Roman V Shaposhnik
On Thu, 2009-08-20 at 01:03 +0200, Henrik Johansson wrote: > Hello Michael, > > On Aug 19, 2009, at 7:17 PM, Michael Barrett wrote: > > > Say you create a zpool based on a file that lives on a NFS mount. > > Then you mount that zpool to a local mount point and give it to > > your zone to live on