enable lstrip_blocks

This commit is contained in:
Fabian Foerg 2018-12-22 20:43:38 -08:00
parent c70dd01bb2
commit fa9d197394

View file

@ -1,3 +1,4 @@
#jinja2:lstrip_blocks: True
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"> <plist version="1.0">
@ -7,7 +8,7 @@
<dict> <dict>
<key>IKEv2</key> <key>IKEv2</key>
<dict> <dict>
{%- if algo_ondemand_wifi or algo_ondemand_cellular %} {% if algo_ondemand_wifi or algo_ondemand_cellular %}
<key>OnDemandEnabled</key> <key>OnDemandEnabled</key>
<integer>1</integer> <integer>1</integer>
<key>OnDemandRules</key> <key>OnDemandRules</key>
@ -21,19 +22,19 @@
<string>WiFi</string> <string>WiFi</string>
<key>SSIDMatch</key> <key>SSIDMatch</key>
<array> <array>
{%- for network_name in WIFI_EXCLUDE_LIST %} {% for network_name in WIFI_EXCLUDE_LIST %}
<string>{{ network_name|e }}</string> <string>{{ network_name|e }}</string>
{%- endfor %} {% endfor %}
</array> </array>
</dict> </dict>
{%- endif %} {% endif %}
<dict> <dict>
<key>Action</key> <key>Action</key>
{%- if algo_ondemand_wifi %} {% if algo_ondemand_wifi %}
<string>Connect</string> <string>Connect</string>
{%- else %} {% else %}
<string>Disconnect</string> <string>Disconnect</string>
{%- endif %} {% endif %}
<key>InterfaceTypeMatch</key> <key>InterfaceTypeMatch</key>
<string>WiFi</string> <string>WiFi</string>
<key>URLStringProbe</key> <key>URLStringProbe</key>
@ -41,11 +42,11 @@
</dict> </dict>
<dict> <dict>
<key>Action</key> <key>Action</key>
{%- if algo_ondemand_cellular %} {% if algo_ondemand_cellular %}
<string>Connect</string> <string>Connect</string>
{%- else %} {% else %}
<string>Disconnect</string> <string>Disconnect</string>
{%- endif %} {% endif %}
<key>InterfaceTypeMatch</key> <key>InterfaceTypeMatch</key>
<string>Cellular</string> <string>Cellular</string>
<key>URLStringProbe</key> <key>URLStringProbe</key>
@ -56,7 +57,7 @@
<string>Disconnect</string> <string>Disconnect</string>
</dict> </dict>
</array> </array>
{%- endif %} {% endif %}
<key>AuthenticationMethod</key> <key>AuthenticationMethod</key>
<string>Certificate</string> <string>Certificate</string>
<key>ChildSecurityAssociationParameters</key> <key>ChildSecurityAssociationParameters</key>