FWIW, pending that issue being resolved, you should be able to do this from
a script on boot:

http://wiki.smartos.org/display/DOC/Administering+the+Global+Zone#AdministeringtheGlobalZone-CreatingPersistentServicesUsingSMF

A bit of fun with vmadm list | cut -b-36 | xargs ... ought to let you
enumerate all the zones and call dladm on each.

-Tim



On Tue, Jun 10, 2014 at 6:42 AM, Andrej Javoršek via smartos-discuss <
[email protected]> wrote:

> Hello,
> I'm trying to set bandwidth limit for my SmartOS guests and I'm aware of
> (eg.):
>
> dladm set-linkprop -z zone-UIID -p maxbw=50M net0
>
> But that is not (re)boot persistent and I have not find a way to code it
> into JSON of zone (or zonecfg -it into existing zone).
>
> Any help appreciated!
>
> Best Regards
>
> Andrej
>
> *smartos-discuss* | Archives
> <https://www.listbox.com/member/archive/184463/=now>
> <https://www.listbox.com/member/archive/rss/184463/24549504-c4bff9d3> |
> Modify
> <https://www.listbox.com/member/?&;>
> Your Subscription <http://www.listbox.com>
>



-- 
http://timboudreau.com



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to