You could also use the source destination copy method
-C "|".
For example:
-C "/etc/nsswitch.dns|/etc/nsswitch.conf" \
-C "/somedir/resolv.conf.myzone|/etc/resolv.conf"
Brad
On Tue, 2007-02-06 at 08:04 -0800, Manish Agrawal wrote:
> The solution that worked for me is to copy /etc/nsswitch.conf and
> /etc/resolv.conf from the global zone. This should work as long as the DNS
> configuration for the non-global zones is the same as for the global zone:
>
> zonemgr -a add -n $zonename -z "/export/home/zones" \
> -P "$rootpassword" -R "/root|/usr/bin/bash" \
> -I "$ipaddress|elxl0|25|$zonename" \
> -s "basic|lock" -S ssh \
> -C "/etc/nsswitch.conf" \
> -C "/etc/resolv.conf" \
> -C "/etc/ssh/sshd_config" &
>
> Thanks to Brad for his extensive input on this.
>
> Now to find a way user accounts in the non-global zones.
>
> Thanks
> Manish
>
>
> This message posted from opensolaris.org
> ___
> zones-discuss mailing list
> zones-discuss@opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org