#!/bin/sh # Run as root. {% for b in bridges.values() %} ip link add name {{ b.name }} type bridge ip link set {{ b.name }} up {% endfor %}