Re: [zones-discuss] Run user script when start zone

2012-03-25 Thread skeletor
Can Solaris 10 do it? 24.03.2012 14:27, Jeff Victor написал: With Solaris 11 vnics, each zone can be excl-IP and share an adapter. Each of those zones controls its vnic, not the NIC. --JeffV Sent from my mobile device On Mar 24, 2012, at 7:22 AM, skeletorskele...@lissyara.su wrote:

Re: [zones-discuss] Run user script when start zone

2012-03-24 Thread skeletor
23.03.2012 11:23, Ian Collins написал: For what you are trying to do, exclusive IP is the best option. I have only 1 network adapter. ___ zones-discuss mailing list zones-discuss@opensolaris.org

[zones-discuss] Run user script when start zone

2012-03-20 Thread skeletor
Hello. I need to run a script, that add new route for a zone (script runs at global zone). But routing start earlier than zones - so route doesn't add. Also, when i reboot zone (zoneadm -z zonename reboot) route was disappeared. So i need find a way to add route when zone starts (start/reboot)

Re: [zones-discuss] Run user script when start zone

2012-03-20 Thread skeletor
20.03.2012 13:53, Hung-Sheng Tsao (LaoTsao) Ph.D пишет: may be put your script under /etc/init.d/ then link to /etc/rc3.d inside zone Sent from my iPad On Mar 20, 2012, at 7:25, skeletorskele...@lissyara.su wrote: Route must be add at GLOBAL zone

Re: [zones-discuss] Run user script when start zone

2012-03-20 Thread skeletor
20.03.2012 14:41, casper@oracle.com пишет: Have you tried making the zone into a zone with exclusive IP stack? (Using a vnic, etc) Then the zone can add the routes as needed Casper No, i havn't. I use share IP stack. ___ zones-discuss

Re: [zones-discuss] Run user script when start zone

2012-03-20 Thread skeletor
20.03.2012 15:17, Hung-Sheng Tsao (LaoTsao) Ph.D пишет: may be add the attr defrouter for share ip zone it is a special routing, thats why i need a execute a command ___ zones-discuss mailing list zones-discuss@opensolaris.org