Changeset 10599 in genesis
- Timestamp:
- Apr 26, 2012, 6:47:13 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r10597 r10599 517 517 # Hybrid Configuration 518 518 # 519 list_ileiden_proxies= `cat <<EOF | awk '{ print $1 }' | tr '\\n' ','519 list_ileiden_proxies=" 520 520 {% for item in autogen_ileiden_proxies -%} 521 521 {{ "%-16s"|format(item.masterip) }} # {{ item.autogen_realname }} 522 522 {% endfor -%} 523 EOF`524 list_normal_proxies= `cat <<EOF | awk '{ print $1 }' | tr '\\n' ','523 " 524 list_normal_proxies=" 525 525 {% for item in autogen_normal_proxies -%} 526 526 {{ "%-16s"|format(item.masterip) }} # {{ item.autogen_realname }} 527 527 {% endfor -%} 528 EOF`528 " 529 529 530 530 captive_portal_interfaces="{{ autogen_dhcp_interfaces|default('none', true) }}" … … 546 546 pf_flags="-D ext_if=$externalif -D ext_if_net=$externalif:network -D masterip=$masterip" 547 547 pf_flags="$pf_flags -D ext_if_gw=${ext_if_gw:-"{{ gateway|default('127.127.127.127') }}"}" 548 lvrouted_flags="$lvrouted_flags -z $list_ileiden_proxies"548 lvrouted_flags="$lvrouted_flags -z `make_list "$list_ileiden_proxies" ","`" 549 549 {% else %} 550 550 pf_rules="/etc/pf.node.conf"
Note:
See TracChangeset
for help on using the changeset viewer.