> Rather than using exec, I recommend using sysidcfg file with a template.

  If this an shared-ip zone then the default_route entry in the
sysidcfg will not actually create a route in the non global zone.
The routing setup via /lib/svc/method/net-routing-setup doesn't
actually do anything in shared-ip zones.      My understanding is that
if you use the 'defrouter' setting in the zonecfg then during zone
installation/creation the global zone actually set's up an additional
default route which is used by the non global zone.    Without
noodling on it too long it would appear to be a job for exec
currently.


   Example from a test zone in case I missed something.

[...@here: ~] sudo zonecfg -z dev-testzone info net
net:
        address: 10.1.16.49
        physical: e1000g0
        defrouter not specified              <---------  This should contain
the route if it was setup via zonecfg



 HTH.  Derek.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to