Howto

The follwing contains metaconfig snippets for doing specific things.

Setting static IP

The following will set a static IP on interface eth0.

1
2
3
4
import "mozrepo/config/networks"

[settings.mozrepo/config/network]
iface["eth0"] = dict( type="static", address="10.0.0.123", netmask="255.255.0.0", gateway="10.0.0.1" )