Hi,
I'm using zonemgr 2.0.6 with the -D "domain" -d"ns1;ns2" options.
This is my full command line and I get syntax errors:
./zonemgr -a add -n stina -P newroot -Z 
"/export/zones/stina|stina-zproot/stina" -t w -I 
"192.168.1.92|e1000g1387005|255.255.255.192|stina" -D "domain.exmple.com" -d 
"192.168.1.5;192.158.1.6"
Checking to see if the zone IP address (192.168.1.50) is already in use...IP is 
available.
**************************************************************************************
./zonemgr: line 5543: 0}: syntax error in expression (error token is "}")
**************************************************************************************
Zone stina will be placed in the following directory: /export/zones/stina
Preparing to install zone <stina>.
Creating list of files to copy from the global zone.
Copying <128597> files to the zone.
Initializing zone product registry.
Determining zone package initialization order.
Preparing to initialize <1114> packages on the zone.
Initialized <1114> packages on zone.
Zone <stina> is initialized.
Installation of these packages generated errors: <SUNWmasf SUNWpostgr-82-libs 
SUNWpostgr-82-client SUNWpostgr-82-server-data-root SUNWpostgr-82-server 
SUNWpostgr-82-contrib SUNWpostgr-83-server-data-root SUNWpostgr-82-devel>
Installation of <14> packages was skipped.
The file </export/zones/stina/root/var/sadm/system/logs/install_log> contains a 
log of the zone installation.
Creating the sysidcfg file for automated zone configuration.
Copying (/root/.zonemgr/zone4242-resolv.conf) from the global zone to 
(/etc/resolv.conf) in the non-global zone.
Copying (/root/.zonemgr/zone4242-nsswitch.conf) from the global zone to 
(/etc/nsswitch.conf) in the non-global zone.
Copy completed.
Booting zone for the first time.
Waiting for first boot tasks to complete.
Waiting for automatic post-install reboot to complete
Updating netmask information.
Copying (/root/.zonemgr/zone4242-resolv.conf) from the global zone to 
(/etc/resolv.conf) in the non-global zone.
Copy completed.
Copying (/root/.zonemgr/zone4242-nsswitch.conf) from the global zone to 
(/etc/nsswitch.conf) in the non-global zone.
Copy completed.
Updating /etc/inet/hosts of the global zone with the stina IP information.
Generating ssh host keys.  Details in the (/root/.zonemgr/zone4242-ssh.log) 
file.
svcadm: Pattern 'svc:/network/ssh' doesn't match any instances
Zone stina is complete and ready to use.

As a result only the domain line is available in the zone's /etc/resolv.conf.
-- 
This message posted from opensolaris.org
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to