Re: [zones-discuss] sysidcfg requires zlogin

2009-08-09 Thread Patrick J. McEvoy
> If you want to configure the ip addresss within the > zone with > sysidcfg/hostname.* files, then you need to use > exclusive ip stack zones: I am using exclusive ip stacks: # zonecfg -z zweb1 export | grep ip-type set ip-type=exclusive # This is definitely a problem with multiple VNICs assig

Re: [zones-discuss] sysidcfg requires zlogin

2009-07-21 Thread Steve Lawrence
If you want to configure the ip addresss within the zone with sysidcfg/hostname.* files, then you need to use exclusive ip stack zones: zonecfg -z zweb$Z "set iptype=exclusive" -Steve L. On Wed, Jul 15, 2009 at 03:55:27PM -0700, Patrick J. McEvoy wrote: > > the only thing that comes to m

Re: [zones-discuss] sysidcfg requires zlogin

2009-07-15 Thread Patrick J. McEvoy
The sysidtool-net script does this: /sbin/ifconfig -a plumb > /dev/null 2>&1 Then fires off sysidnet. I embedded these two lines in sysidtool-net /sbin/dladm show-link > /etc/dladm-show-link /sbin/ifconfig -a > /etc/ifconfig-a and the results show that the VNICs do not appear:

Re: [zones-discuss] sysidcfg requires zlogin

2009-07-15 Thread Patrick J. McEvoy
If I get rid of the second interface and use network_interface=PRIMARY then things work. When I use two interfaces and the primary keyword I get two copies of sysidnet that seem to hang around forever (or until zlogin): swag...@sol:~# ps -fz zweb1 UID PID PPID CSTIME TTY TI

Re: [zones-discuss] sysidcfg requires zlogin

2009-07-15 Thread Patrick J. McEvoy
> If you have a correct sysidcfg, you will never need > to go thru the > system identification prompt at zlogin -C. Just to be clear: I don't have to go through system identification at zlogin -C, but I have to do a zlogin -C to get sysconfig to happen. That is, once I do zlogin -C and get to th

Re: [zones-discuss] sysidcfg requires zlogin

2009-07-15 Thread Patrick J. McEvoy
> the only thing that comes to mind for me right now is > a possible > mis-match of the installation repository used and the > repository when > the zone was created. I could re-create the master -- i.e. that which I am cloning -- if you think that would make a difference. BTW, the master has n

Re: [zones-discuss] sysidcfg requires zlogin

2009-07-15 Thread Patrick J. McEvoy
> YMMV. If you have an exclusive-ip zone you will have > to touch > /etc/hostname.NIC in the zone as well. I am using exclusive-ip, but touching the hostname.NIC files did not make a difference. Another oddity I did not mention in the original post is that I get different behavior on zlogin de

Re: [zones-discuss] sysidcfg requires zlogin

2009-07-15 Thread Patrick J. McEvoy
> If you have a correct sysidcfg, you will never need > to go thru the > system identification prompt at zlogin -C. Please > post your sysidcfg. network_interface=vphys1 { primary hostname=zweb1 ip_address=192.168.17.1 netmask=255.255.255.0 protocol_ipv6=no

Re: [zones-discuss] sysidcfg requires zlogin

2009-07-15 Thread Steffen Weiberle
On 07/15/09 17:27, Christine Tran wrote: On Wed, Jul 15, 2009 at 3:32 PM, Patrick J. McEvoy wrote: I am trying to pre-configure zones with sysidcfg as described in: http://docs.sun.com/app/docs/doc/817-1592/z.login.task-38?l=en&a=view&q=sysidcfg+and+containers Basically: clone a zone

Re: [zones-discuss] sysidcfg requires zlogin

2009-07-15 Thread Christine Tran
On Wed, Jul 15, 2009 at 3:32 PM, Patrick J. McEvoy wrote: > I am trying to pre-configure zones with sysidcfg as described in: > > > http://docs.sun.com/app/docs/doc/817-1592/z.login.task-38?l=en&a=view&q=sysidcfg+and+containers > > Basically: > >clone a zone >zoneadm -z ready >edit