[OpenIndiana-discuss] zonecfg error

Jose-Marcio Martins da Cruz jose.marcio.mc at gmail.com
Mon Apr 2 20:43:21 UTC 2012


Hello,

I'm trying to create zones under OpenIndiana 151a. I'm trying to do what I used to do under Solaris 
10, but zonecfg returns an error, when I try to inherit /opt from the global zone.

***************************************************************
# zonecfg -z ztest
ztest: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:ztest> create -b
zonecfg:ztest> set zonepath=/data/xroot/ztest
zonecfg:ztest> set autoboot=true
zonecfg:ztest> set ip-type=shared
zonecfg:ztest> add inherit-pkg-dir
usage:
add <resource-type>
	(global scope)
add <property-name> <property-value>
	(resource scope)
zonecfg:ztest>
**************************************************************

What I'm doing wrong ? This usually worked for Solaris 10.

Thanks

José-Marcio





More information about the OpenIndiana-discuss mailing list